Page 2 of 7

Re: Building an Android .apk -file

PostPosted: Tue Jan 24, 2012 7:10 am
by Leif
Well, inspired with new possibilities, I made perfomance testing program. Main task was: test on my galaxy s how fps depends on actors size.
Program is simple - it displays number of actors and fps, by pressing buttons you can increase amount of actors and change actor animation size. All animation are pictures 4x4,8x8...1024x1024.
I builded 3 .apk files (see attach) - for frame rates 30, 24, 16 fps. All of them are 840x480.

Main problem, that i noticed - very unstable fps :( Even with 0 actors it jumps from 16 to 12 (for 16 fps),i.e. unpredictably changes by 25-50%. Same story with 24 and 30.
Well, if it's because of unoptimized engine, please pay great attention to this.
If it's my fault (something wrong with build settings) - what i did wrong ?

Files here
http://www.filefactory.com/file/c2c20a1 ... e_test.zip

Re: Building an Android .apk -file

PostPosted: Sun Mar 04, 2012 2:08 pm
by Clokio
I found a link to install the NDK on mac, pc and linux for those using those platform. It's old but it can help us to develop a solid procedure.
http://www.talkandroid.com/guides/developer/android-sdk-install-guide/#.T1N3Pcy0bYE

Maybe these are more up to date
http://developer.android.com/sdk/installing.html

Re: Building an Android .apk -file

PostPosted: Sat Jul 21, 2012 7:21 pm
by friedfish
hey guys,

I tried to follow the instructions one by one but then when I tried to open it on the phone it shows the ge splash then shows me a blank white screen...
you guys have any idea why? any info I need to present so that you may know what's wrong?

-friedfish

Re: Building an Android .apk -file

PostPosted: Mon Jul 23, 2012 8:36 am
by lcl
friedfish wrote:hey guys,

I tried to follow the instructions one by one but then when I tried to open it on the phone it shows the ge splash then shows me a blank white screen...
you guys have any idea why? any info I need to present so that you may know what's wrong?

-friedfish

Never happened to me :o
Have you tried building it again?

Re: Building an Android .apk -file

PostPosted: Mon Oct 01, 2012 1:22 am
by friedfish
sorry about this late reply lcl.

I tried this again and followed the instructions properly this time and it worked using 2.3.3 but then the game crashes.
what it does id show the splash - starts the game - freezes and goes back to splash.

I'm trying it on my Samsung Galaxy S3. android version 4.0.4.

thank you...

-friedfish-

EDIT:
forget about my post above. It is working now. My fault was exporting it as dat for pocket pc, handheld pc and such. I tried exporting it to an iPhone dat or level dat and it works.

one more thing though. how would I go about have multiple dat files? main.dat, game.dat, win.dat.

Re: Building an Android .apk -file

PostPosted: Fri Nov 16, 2012 8:44 pm
by MrJolteon
I can't seem to find SDK manager.exe.

Re: Building an Android .apk -file

PostPosted: Sat Feb 09, 2013 5:54 pm
by lcl
MrJolteon wrote:I can't seem to find SDK manager.exe.

Are you sure you have gone through the step 2:
lcl wrote:2) Download and install Android SD, you'll find it here:
Code: Select all
http://developer.android.com/sdk/index.html

Choose the one that's recommended. If it tells you to get Java SE Development Kit (JDK), get it.
Don't install it to Program Files (x86), because windows will not let it download what it has to download.

You can find SDK Manager.exe from the folder where you have installed Android SD.
The folder is 'android-sdk'. The SDK Manager.exe should be there.

Re: Building an Android .apk -file

PostPosted: Sun Feb 10, 2013 8:21 am
by MrJolteon
lcl wrote:
MrJolteon wrote:I can't seem to find SDK manager.exe.

Are you sure you have gone through the step 2:
lcl wrote:2) Download and install Android SD, you'll find it here:
Code: Select all
http://developer.android.com/sdk/index.html

Choose the one that's recommended. If it tells you to get Java SE Development Kit (JDK), get it.
Don't install it to Program Files (x86), because windows will not let it download what it has to download.

You can find SDK Manager.exe from the folder where you have installed Android SD.
The folder is 'android-sdk'. The SDK Manager.exe should be there.

I did that.
There is no android-sdk folder.

Re: Building an Android .apk -file

PostPosted: Sun Feb 10, 2013 9:56 am
by lcl
Then I don't know how I can help you. It's pretty difficult to just try to guess what has gone wrong.
Do you have Java SE Development Kit installed?

Re: Building an Android .apk -file

PostPosted: Sun Feb 10, 2013 5:06 pm
by MrJolteon
I think so.

Re: Building an Android .apk -file

PostPosted: Sun Feb 10, 2013 7:37 pm
by lcl
But you're not sure? You should check.

Re: Building an Android .apk -file

PostPosted: Sat Feb 16, 2013 3:05 am
by gustavo02
I'm very grateful for the tutorial. Even I not having any idea of what I was doing while was following the steps, the game worked fine in my Android Device in the end.

Re: Building an Android .apk -file

PostPosted: Sun Feb 17, 2013 3:29 pm
by knucklecrunchgames
I am lost. could someone install it all to a disc and compress it into an .iso image?

Re: Building an Android .apk -file

PostPosted: Sun Feb 17, 2013 5:50 pm
by lcl
knucklecrunchgames wrote:I am lost. could someone install it all to a disc and compress it into an .iso image?

What are you talking about?

Re: Building an Android .apk -file

PostPosted: Mon Feb 18, 2013 7:24 pm
by knucklecrunchgames
lcl wrote:
knucklecrunchgames wrote:I am lost. could someone install it all to a disc and compress it into an .iso image?

What are you talking about?


like with image burn or something something ( sorry, takling gibberish)