It is currently 25 Apr 2024, 03:49
   
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: 05-27-2014 Alpha 1.5.19.001

Postby drdev » 28 May 2014, 16:11

Agetian wrote:Ok, testing it on my Samsung Galaxy tab 2 GT-P3100, it doesn't install. I followed the instructions and my tablet says "application not installed" when I try to install the apk, no reason is provided. My Android version is 4.2.2.

- Agetian
Sounds like the same issue friarsol is having. As mentioned in my last post, either Krazy or I will investigate this as soon as possible.
drdev
Programmer
 
Posts: 1958
Joined: 27 Jul 2013, 02:07
Has thanked: 189 times
Been thanked: 565 times

Re: Forge Android App: 05-27-2014 Alpha 1.5.19.001

Postby Davor Vitief » 28 May 2014, 17:35

I have the same "Application not installed" problem, im using Android 4.2.2.
Davor Vitief
 
Posts: 18
Joined: 16 Oct 2012, 10:22
Has thanked: 9 times
Been thanked: 0 time

Re: Forge Android App: 05-27-2014 Alpha 1.5.19.001

Postby KrazyTheFox » 28 May 2014, 18:21

I've found the problem!

The certificate is being seen as invalid on slightly older Android versions as the default signing algorithm changed with Java 7. It doesn't show up on the S4s since they use the newer algorithm. See: http://stackoverflow.com/a/10083280/3331135

I should have an update for the Android pom.xml that'll fix this shortly. You'll also need to re-create your keys with keytool to use the other algorithm:
Code: Select all
-sigalg MD5withRSA -keyalg RSA -keysize 1024

For example, my input:
Code: Select all
keytool -genkey -v -keystore <name>.keystore -alias <alias> -sigalg MD5withRSA -keyalg RSA -keysize 1024 -validity 10000

Edit: Change is committed, Dan just needs to build and publish a new version. I'd build it myself, but the app should generally be signed with the same key every time.
User avatar
KrazyTheFox
Programmer
 
Posts: 725
Joined: 18 Mar 2014, 23:51
Has thanked: 66 times
Been thanked: 226 times

Re: Forge Android App: 05-27-2014 Alpha 1.5.19.001

Postby jmartus » 28 May 2014, 21:41

Is it supposed to take 3 hours to transfer over from desktop to phone?
jmartus
 
Posts: 207
Joined: 11 Oct 2010, 09:25
Has thanked: 0 time
Been thanked: 7 times

Re: Forge Android App: 05-27-2014 Alpha 1.5.19.001

Postby jmartus » 28 May 2014, 23:30

Ok I tried I installed it and when I go to open it all I get is a back screen.
jmartus
 
Posts: 207
Joined: 11 Oct 2010, 09:25
Has thanked: 0 time
Been thanked: 7 times

Re: Forge Android App: 05-27-2014 Alpha 1.5.19.001

Postby drdev » 28 May 2014, 23:44

jmartus wrote:Is it supposed to take 3 hours to transfer over from desktop to phone?
I'd recommend zipping all files you want to transfer then unzipping them once on the phone. That should be much faster.
drdev
Programmer
 
Posts: 1958
Joined: 27 Jul 2013, 02:07
Has thanked: 189 times
Been thanked: 565 times

Re: Forge Android App: 05-27-2014 Alpha 1.5.19.001

Postby jmartus » 29 May 2014, 00:03

why my screen black when I go to open forge?
jmartus
 
Posts: 207
Joined: 11 Oct 2010, 09:25
Has thanked: 0 time
Been thanked: 7 times

Re: Forge Android App: 05-27-2014 Alpha 1.5.19.001

Postby KrazyTheFox » 29 May 2014, 00:31

jmartus wrote:why my screen black when I go to open forge?
It sounds like your "res/" folder isn't in the right place. It should go under "Forge/" in wherever your phone considers external storage.
User avatar
KrazyTheFox
Programmer
 
Posts: 725
Joined: 18 Mar 2014, 23:51
Has thanked: 66 times
Been thanked: 226 times

Re: Forge Android App: 05-27-2014 Alpha 1.5.19.001

Postby jmartus » 29 May 2014, 00:47

ok thank you I just had to rename assets to rez now it works
jmartus
 
Posts: 207
Joined: 11 Oct 2010, 09:25
Has thanked: 0 time
Been thanked: 7 times

Re: Forge Android App: 05-27-2014 Alpha 1.5.19.001

Postby drdev » 29 May 2014, 02:13

I just published and released 1.5.19.002 using the new signing algorithm. For those who were having issues installing the last build, please try this new build and let me know if it works for you. The link is below, and I also updated the first post.

http://cardforge.org/android/releases/forge/forge-gui-android/1.5.19.002/forge-android-signed-aligned.apk

Thanks for your patience.
-Dan
Last edited by drdev on 29 May 2014, 03:11, 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: 05-28-2014 Alpha 1.5.19.002

Postby friarsol » 29 May 2014, 02:26

FYI, the link you provided has a period at the end, which redirects to the cardforge homepage. And the new apk installs for me. Thanks for the hard work Dan & Krazy.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: Forge Android App: 05-28-2014 Alpha 1.5.19.002

Postby drdev » 29 May 2014, 03:11

friarsol wrote:FYI, the link you provided has a period at the end, which redirects to the cardforge homepage. And the new apk installs for me. Thanks for the hard work Dan & Krazy.
Removed the period. Thanks.
drdev
Programmer
 
Posts: 1958
Joined: 27 Jul 2013, 02:07
Has thanked: 189 times
Been thanked: 565 times

Re: Forge Android App: 05-28-2014 Alpha 1.5.19.002

Postby friarsol » 29 May 2014, 03:18

One request I have that would help enormously, is to zip up the cardsfolder like we do with full releases. That way we're not extracting 13k files to an sdcard. All that is of course assuming a zipped cardsfolder can actually be loaded in by Forge on Android.

I seem to be stuck on a black screen and I see this in my sdcard/Forge/data/forge.log

(ThreadUtil first call): Running on a machine with 2 cpu core(s)
EDT > java.lang.NullPointerException
at forge.assets.FSkinTexture.load(FSkinTexture.java:51)
at forge.assets.FSkin.loadLight(FSkin.java:79)
at forge.screens.SplashScreen.<init>(SplashScreen.java:36)
at forge.Forge.create(Forge.java:74)
at com.badlogic.gdx.backends.android.AndroidGraphics.onSurfaceChanged(AndroidGraphics.java:334)
at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1505)
at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1240)

Is the step below required? Since it sounds kind of optional "you can", and I have a feeling that by not doing it, it might be related to my error?

"If you're connected to a computer with Forge installed, you can copy over your card pics, decks, quest data, and preferences into the Forge folder. The following mappings apply (based on a Windows user with default AppData locations)
- C:\Users\<username>\AppData\Local\Forge\Cache\ > Forge\cache\
- C:\Users\<username>\AppData\Roaming\Forge\ > Forge\data\"
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: Forge Android App: 05-28-2014 Alpha 1.5.19.002

Postby KrazyTheFox » 29 May 2014, 03:22

friarsol wrote:One request I have that would help enormously, is to zip up the cardsfolder like we do with full releases. That way we're not extracting 13k files to an sdcard. All that is of course assuming a zipped cardsfolder can actually be loaded in by Forge on Android.
It does work on Android. My current cards folder is zipped.

friarsol wrote:I seem to be stuck on a black screen
The stuff you listed below should still be optional. For whatever reason it's not locating your res/ folder (specifically, the skins portion).
User avatar
KrazyTheFox
Programmer
 
Posts: 725
Joined: 18 Mar 2014, 23:51
Has thanked: 66 times
Been thanked: 226 times

Re: Forge Android App: 05-28-2014 Alpha 1.5.19.002

Postby 5enza » 29 May 2014, 03:23

First of all excellent job on the port - I've been having a lot of fun with it. Found a bug that I wanted to let you know about. The app is consistently crashing for me on the assign damage screen. Whether I tap Auto or manually assign damage to blockers the screen graphics corrupt and I am forced to close app. I uploaded a video to Youtube so you can see exactly what is happening if that is helpful - youtu.be/eEX4P19MDo0

My device specs:
Nexus 7 2013 4.4.2 stock rooted
Forge Android Alpha 1.5.19.001
HQ card images
5enza
 
Posts: 71
Joined: 16 May 2014, 01:35
Has thanked: 10 times
Been thanked: 13 times

PreviousNext

Return to Forge

Who is online

Users browsing this forum: No registered users and 181 guests


Who is online

In total there are 181 users online :: 0 registered, 0 hidden and 181 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 181 guests

Login Form