Page 1 of 1

Getting your game to your android device

PostPosted: Fri Nov 02, 2012 12:34 am
by praaab
Hey everybody i was just wondering two things... 1. Will a GE game run smoother on a droid device rather than an ipod touch (less lagg)? 2. How do you export a ge game file to an android device and please make it very detailed because ive never tried this on android but i could say that im experienced on exporting to ipod touch. THANKS

Re: Getting your game to your android device

PostPosted: Fri Nov 02, 2012 3:57 am
by skydereign
There isn't too much difference in performance, aside from hardware differences. As for building the apk, have you looked at this? http://game-editor.com/forum/viewtopic.php?f=27&t=11454

Re: Getting your game to your android device

PostPosted: Sat Nov 03, 2012 3:46 pm
by praaab
Well in step number 4 i have no idea what to do could you reference me a bit to complete that step?

Re: Getting your game to your android device

PostPosted: Sat Nov 03, 2012 6:46 pm
by skydereign
lcl wrote:4) Write a similar bat -file in Notepad or some other program:
Code: Select all
set ANT_HOME=c:\apache-ant-1.8.2
set CLASSPATH=C:\jdk1.7.0_01\lib
set JAVA_HOME=c:\jdk1.7.0_01
set PATH=%path%;%ANT_HOME%\bin
set PATH=%path%;c:\android-sdk\tools

So, set ANT_HOME to be the path to the folder named exactly apache-ant-1.8.2. So, if you got a folder named apache-ant-1.8.2-bin, that's not the right one, in that folder there is a subfolder, which has the right name, be careful!
And for the CLASSPATH, you'll have to search where it has installed your JDK, and the lib-folder. It's most likely in C:\Program Files\Java\jdk1.7.0_02\lib
JAVA_HOME is the folder where you can find the lib-folder, so most likely: C:\Program FIles\Java\jdk1.7.0_02
The next line you can leave as it is.
And the last line, replace the c:\android-sdk\tools with your android-sdk tools folders location.

Save the file with the name setup.bat and in your geandroid -folder.

Open notepad and create a bat file (setup.bat). lcl's directions are pretty straight forward though, so what part of it are you having trouble on?

Re: Getting your game to your android device

PostPosted: Sun Nov 04, 2012 12:09 am
by praaab
Well i dont have a windows i have a mac and textpad isnt the same as notepad and im not able to save as a .bat file so what am i suppose to save it as?

Re: Getting your game to your android device

PostPosted: Sun Nov 04, 2012 12:57 am
by skydereign
Ah, then it is easier. Just follow the instructions in the download section where you get geandroid.

Re: Getting your game to your android device

PostPosted: Sat Apr 13, 2013 10:55 am
by ayushpal
does the touchscreen works same as the mouse clicks on the screen of android device ?

Re: Getting your game to your android device

PostPosted: Sat Apr 13, 2013 1:14 pm
by MrJolteon
Yes.