I had a machine failure a bit back and need to reinstall the android jars to test this. Nothing has changed on my end for the library running on android, but I’ll need to get my test app running to see what the differences are.
Oooo… not only is it running, but the changes to the core shader has made for some drastic improvement. Was hoping this would have a positive effect on Android, but didn’t know until now.
I didn’t make any special preparations for it to be android, I only used your default windows and button controllers.
Is there special android elements I should have used?
Nope… should just be the default for everything. Though, there may be a setting that needs to be enabled, that’s why I need to take a look at the two projects and verify. In the mean time, try:
Disabling mouse emulation… or whatever the JME option is for that and…
screen.setUseMultiTouch(true);
Here is the default screen setup I use for Android:
Disable save on edit in project properties.
Restart the IDE after enabling android deployment for the project (not sure if this is still needed or not… used to be)
And Clean & Build the project after the prior two steps.
@BigBob
Ok, the answer is… you have to enable texture atlasing, like in the example above. I forgot that the default images are not power of two and won’t work on many devices. You would want to enable this anyways for android as it make a big difference in performance.
I got the android plugin, made the project configuration to run on an android device, turned off save on compile. Restarted the sdk, built the apk, signed the apk, then installed it on my device.
I still only get a black screen with the statistics in the corner.
If I run the jar file it creates, the jar works just fine on my PC.
Here is my current GUI stuff.
I will continue trying different things.
EDIT:
I attempted to remove the statistics display in the corner by putting
I got the android plugin, made the project configuration to run on an android device, turned off save on compile. Restarted the sdk, built the apk, signed the apk, then installed it on my device.
I still only get a black screen with the statistics in the corner.
If I run the jar file it creates, the jar works just fine on my PC.
Here is my current GUI stuff.
I will continue trying different things.
EDIT:
I attempted to remove the statistics display in the corner by putting