It is currently 28 Aug 2025, 21:10
   
Text Size

Forge Android App: 11-13-2016 Alpha 1.5.58.002

Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins

Re: Forge Android App: 08-01-2014 Alpha 1.5.24.002

Postby drdev » 01 Aug 2014, 19:05

I just released 1.5.24.002 which fixes a bug that would prevent getting out of compact mode using two finger zoom.
drdev
Programmer
 
Posts: 1958
Joined: 27 Jul 2013, 02:07
Has thanked: 189 times
Been thanked: 565 times

Re: Forge Android App: 08-01-2014 Alpha 1.5.24.001

Postby drdev » 01 Aug 2014, 19:08

Scion of Darkness wrote:DrDev i know this might be hard but is it possible to make a quest mode with our constructed decks without prizes, just keep beating opponents and conquering planes with a super final boss?


Thanks for the hard work ;)
Sounds a bit like my Planar Conquest proposal. Let's just say such a mode is something on my radar but I have others things I'm planning to work on first.
drdev
Programmer
 
Posts: 1958
Joined: 27 Jul 2013, 02:07
Has thanked: 189 times
Been thanked: 565 times

Re: Forge Android App: 08-01-2014 Alpha 1.5.24.001

Postby krishkrush » 01 Aug 2014, 19:35

Could you please make an option for reenabling the deck stats in deck editor view? I'm talking about the bar which showed you how many cards you have of a certain type or cmc (or do i just not find it anymore?). It's something i regularly use and need for deck building. Maybe just a toggle on/off button in the options menu, so it doesn't clutter the screen for people who don't need that (although i can hardly imagine someone not needing this ^^).
Another possible solution for any space problems versus more functionality in the deck building screen would be an additional tab for a more thorough search in my opinion. So that you would have the choice between the current simplified version and a more advanced search mode as in previous versions.
krishkrush
 
Posts: 89
Joined: 13 Oct 2012, 14:18
Has thanked: 30 times
Been thanked: 2 times

Re: Forge Android App: 08-01-2014 Alpha 1.5.24.001

Postby drdev » 01 Aug 2014, 20:08

krishkrush wrote:Could you please make an option for reenabling the deck stats in deck editor view? I'm talking about the bar which showed you how many cards you have of a certain type or cmc (or do i just not find it anymore?). It's something i regularly use and need for deck building. Maybe just a toggle on/off button in the options menu, so it doesn't clutter the screen for people who don't need that (although i can hardly imagine someone not needing this ^^).
Another possible solution for any space problems versus more functionality in the deck building screen would be an additional tab for a more thorough search in my opinion. So that you would have the choice between the current simplified version and a more advanced search mode as in previous versions.
Would an option to open a separate stats screen or dialog be sufficient? I want to separate the filters out from the stats, as generating the stats on the fly as filters were applied was part of the performance problem, plus it required extra screen real estate.

Note that you can change your grouping to different stats as a workaround to gets those numbers, particularly if you collapse all groups.
Last edited by drdev on 01 Aug 2014, 22:02, edited 1 time in total.
drdev
Programmer
 
Posts: 1958
Joined: 27 Jul 2013, 02:07
Has thanked: 189 times
Been thanked: 565 times

Re: Forge Android App: 08-01-2014 Alpha 1.5.24.002

Postby krishkrush » 01 Aug 2014, 22:02

Sure, but as someone said before, filtering for cmc for example is important. I personally would rather have performance problems than not being able to filter as needed. That's why i suggested making it optional.

Ah and sorry if i make another request but i just remember something that bugged me:
Is there any way to stop forge from rebooting after app-switching? Almost always when i switch out of forge to for example whatsapp and then switch back, it reboots. This makes drafting impossible for me, as it takes too long and doesn't save the progress when the reboot occurs. My phone is an Asus Fonepad if that matters. I also have sometimes crashes followed by rebooting the entire device (usually when extensively browsing the card database or playing too many matches in a row).
krishkrush
 
Posts: 89
Joined: 13 Oct 2012, 14:18
Has thanked: 30 times
Been thanked: 2 times

Re: Forge Android App: 08-01-2014 Alpha 1.5.24.002

Postby drdev » 01 Aug 2014, 22:04

krishkrush wrote:Sure, but as someone said before, filtering for cmc for example is important. I personally would rather have performance problems than not being able to filter as needed. That's why i suggested making it optional.

Ah and sorry if i make another request but i just remember something that bugged me:
Is there any way to stop forge from rebooting after app-switching? Almost always when i switch out of forge to for example whatsapp and then switch back, it reboots. This makes drafting impossible for me, as it takes too long and doesn't save the progress when the reboot occurs. My phone is an Asus Fonepad if that matters. I also have sometimes crashes followed by rebooting the entire device (usually when extensively browsing the card database or playing too many matches in a row).
Those might be the result of how much memory Forge uses. How old is your phone and how much memory does it have?

As for those types of filter options, I'm planning to find a way to support them again, most likely through an advanced search options screen.
drdev
Programmer
 
Posts: 1958
Joined: 27 Jul 2013, 02:07
Has thanked: 189 times
Been thanked: 565 times

Re: Forge Android App: 08-01-2014 Alpha 1.5.24.002

Postby friarsol » 01 Aug 2014, 22:20

drdev wrote:Those might be the result of how much memory Forge uses. How old is your phone and how much memory does it have?
This is definitely the case. If your app is in the background, the OS assumes it might not be using it's memory and frees it as necessary. In the case of Forge, when it's memory is cleared, it reloads everything from scratch.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: Forge Android App: 08-01-2014 Alpha 1.5.24.003

Postby drdev » 02 Aug 2014, 01:08

I just released 1.5.24.003, which fixes a concurrent modification exception that could occur if you applied multiple filters quickly, as well and improves the performance of applying filters to the unique catalog.
drdev
Programmer
 
Posts: 1958
Joined: 27 Jul 2013, 02:07
Has thanked: 189 times
Been thanked: 565 times

Re: Forge Android App: 08-02-2014 Alpha 1.5.24.004

Postby drdev » 02 Aug 2014, 15:46

I just released 1.5.24.004, which should improve the performance of scrolling through lists or piles of cards by loading the card images incrementally. It should also improve the speed of initially opening the editor and other screens/dialogs involving card images.
drdev
Programmer
 
Posts: 1958
Joined: 27 Jul 2013, 02:07
Has thanked: 189 times
Been thanked: 565 times

Re: Forge Android App: 08-01-2014 Alpha 1.5.24.002

Postby krishkrush » 02 Aug 2014, 19:21

drdev wrote:
krishkrush wrote:Sure, but as someone said before, filtering for cmc for example is important. I personally would rather have performance problems than not being able to filter as needed. That's why i suggested making it optional.

Ah and sorry if i make another request but i just remember something that bugged me:
Is there any way to stop forge from rebooting after app-switching? Almost always when i switch out of forge to for example whatsapp and then switch back, it reboots. This makes drafting impossible for me, as it takes too long and doesn't save the progress when the reboot occurs. My phone is an Asus Fonepad if that matters. I also have sometimes crashes followed by rebooting the entire device (usually when extensively browsing the card database or playing too many matches in a row).
Those might be the result of how much memory Forge uses. How old is your phone and how much memory does it have?

As for those types of filter options, I'm planning to find a way to support them again, most likely through an advanced search options screen.
http://www.chip.de/preisvergleich/226689/Asus-Fonepad-7-ME372CG-1B057A-16GB-WiFi-3G.html

Sorry couldn't find an english site with this device (maybe had a different name outside of germany?). So there is no way to avoid this issue?
krishkrush
 
Posts: 89
Joined: 13 Oct 2012, 14:18
Has thanked: 30 times
Been thanked: 2 times

Re: Forge Android App: 08-02-2014 Alpha 1.5.24.004

Postby Agetian » 04 Aug 2014, 04:05

I might be interested in tinkering a bit with the mobile version of Forge and possibly helping along a little if I can (I'll see what I can do). I have succeeded in setting up my NetBeans environment with the NBAndroid plugin and the official Android SDK such that I can compile the mobile version of Forge. It compiles fine on my end (both forge-gui-mobile and forge-gui-android) but I have no idea how to do two things:
1) what is the necessary step to make an apk package out of the compiled jars? I see there is no regular project option for an APK export in NetBeans - does it mean it's controlled with some sort of a Maven command or a Maven goal?
2) is it possible to launch the mobile version of the game on the desktop in "emulated" mode for testing? If so, can you please tell me how to do it?
It's OK to PM me if you don't want to pollute this thread with dev stuff.

Also, reporting an issue I experienced a couple times already while I'm at it: when going through the drafting process in Booster Draft, sometimes the drafting interface will seem to hang (this appears to be random, I can't reproduce it reliably but it seems like it's more likely to happen if first you're using single taps to "add to main / add to sideboard" and then you double-tap a card, after which it *should* be drafted but sometimes it isn't, and then you can't tap any card any more (single and double taps don't work anymore). It's possible to switch to the list view mode and then it's possible to continue drafting there. However, if you try to switch back from list view to the (hung) card view and try to do anything there, Forge will hard-crash. If this happens again I'll try to get the particulars of the exception and post them here.

- Agetian
Agetian
Programmer
 
Posts: 3489
Joined: 14 Mar 2011, 05:58
Has thanked: 684 times
Been thanked: 572 times

Re: Forge Android App: 08-02-2014 Alpha 1.5.24.004

Postby kestell » 04 Aug 2014, 05:03

Description: [This is a very repeatable crash, although pressing continue just continues without incident. I am editing an existing deck and removed city of brass. the same happens with cavern of souls. and every other card I tried.
]

NullPointerException | Open
Code: Select all
Forge Version:    1.5.24.003
Operating System: Linux 3.4.5-1083225 armv7l
Java Version:     0 The Android Project

java.lang.NullPointerException
   at forge.itemmanager.ItemManager.addItem(ItemManager.java:605)
   at forge.deck.FDeckEditor$CardManagerPage.addCard(FDeckEditor.java:541)
   at forge.deck.FDeckEditor$DeckSectionPage$2.run(FDeckEditor.java:996)
   at forge.deck.FDeckEditor$DeckSectionPage$2.run(FDeckEditor.java:989)
   at forge.toolbox.GuiChoose$1.run(GuiChoose.java:38)
   at forge.toolbox.GuiChoose$1.run(GuiChoose.java:35)
   at forge.toolbox.ListChooser$2.run(ListChooser.java:155)
   at forge.toolbox.ListChooser$2.run(ListChooser.java:146)
   at forge.toolbox.FOptionPane.setResult(FOptionPane.java:224)
   at forge.toolbox.FOptionPane$4.handleEvent(FOptionPane.java:214)
   at forge.toolbox.FButton.tap(FButton.java:156)
   at forge.Forge$MainInputProcessor.tap(Forge.java:463)
   at forge.toolbox.FGestureAdapter.touchUp(FGestureAdapter.java:218)
   at forge.toolbox.FGestureAdapter.touchUp(FGestureAdapter.java:182)
   at com.badlogic.gdx.backends.android.AndroidInput.processEvents(AndroidInput.java:358)
   at com.badlogic.gdx.backends.android.AndroidGraphics.onDrawFrame(AndroidGraphics.java:413)
   at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1524)
   at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1248)
kestell
 
Posts: 70
Joined: 04 Oct 2013, 12:03
Has thanked: 5 times
Been thanked: 0 time

Re: Forge Android App: 08-02-2014 Alpha 1.5.24.004

Postby kestell » 04 Aug 2014, 10:47

Does the android forge use the same images as desktop forge? can I just copy my PC's folder to the phone and it should work?
kestell
 
Posts: 70
Joined: 04 Oct 2013, 12:03
Has thanked: 5 times
Been thanked: 0 time

Re: Forge Android App: 08-02-2014 Alpha 1.5.24.004

Postby drdev » 04 Aug 2014, 13:17

kestell wrote:Does the android forge use the same images as desktop forge? can I just copy my PC's folder to the phone and it should work?
Yes.
drdev
Programmer
 
Posts: 1958
Joined: 27 Jul 2013, 02:07
Has thanked: 189 times
Been thanked: 565 times

Re: Forge Android App: 08-02-2014 Alpha 1.5.24.004

Postby drdev » 04 Aug 2014, 13:23

Agetian wrote:1) what is the necessary step to make an apk package out of the compiled jars? I see there is no regular project option for an APK export in NetBeans - does it mean it's controlled with some sort of a Maven command or a Maven goal?
You need to use a Maven goal to compile the .apk and/or deploy to a device or emulator.

-U -B clean -P android-debug install android:undeploy android:deploy

If you simply want to build the .apk and not deploy it at the same time, just strip out the android:undeploy and android:deploy arguments from the above goal.

Agetian wrote:2) is it possible to launch the mobile version of the game on the desktop in "emulated" mode for testing? If so, can you please tell me how to do it?
It's OK to PM me if you don't want to pollute this thread with dev stuff.
For that I recommend just running forge-gui-mobile-dev as a Java application. It's much faster for development than trying to deploy to an emulator or device each time, plus it allows debugging.
drdev
Programmer
 
Posts: 1958
Joined: 27 Jul 2013, 02:07
Has thanked: 189 times
Been thanked: 565 times

PreviousNext

Return to Forge

Who is online

Users browsing this forum: Google [Bot] and 51 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 52 users online :: 1 registered, 0 hidden and 51 guests (based on users active over the past 10 minutes)
Most users ever online was 7303 on 15 Jul 2025, 20:46

Users browsing this forum: Google [Bot] and 51 guests

Login Form