android to slow to use ? , and a strange rendering

Monkey Targets Forums/Android/android to slow to use ? , and a strange rendering

GC-Martijn(Posted 2011) [#1]
H!

I busy with a simple platform game, and now I was testing it with the android IDE with a this target info:
Android 2.2 (api level 8)
Skin: WVGA800
SD Card: 100M
hw.lcd.density: 240
vm.heapSize: 100
hw.ramSize: 512

I don't know what everything means, but I want to build for the next (fast smartphone) generation.

In html5 everything runs very fast and in android it runs very very slow...

I disabled (as a test) all images but that din't make it faster.
And I use (as a test) the virtual joystick (found at this forum) that look like this:


[img]http://www.gamecreators.nl/img/draw.png[/img]

You can see that the blue circle is not smooth, and contains white pixels :S

Now my question is what is the android profile setting to make it as fast like for example the new Iphone 4s ?
Android 2.2 (api level 8) <-- maybe the latest version
Skin: WVGA800 <- ?
SD Card: 100M <- does the sdcard do something to make it faster ?
hw.lcd.density: 240 <- ? what is this ?
vm.heapSize: 100 <- much higher to make it faster ?
hw.ramSize: 512 <- I thought 512 is oke for now...

There are some other options but maybe someone does have the correct profile to make it comparable (speed) with the iphone 4s


Thanks,
GCMartijn


Gerry Quinn(Posted 2011) [#2]
I suspect you need either a super PC or a real Android!


GC-Martijn(Posted 2011) [#3]
So the emulator is not really 1:1 ? I don't have a real android so I don't know...

In other words, my core i7 win7 64bit 4GB ram can't emulate the real speed ?
Why do I want to use the emulator then ?

Is this the same with an Iphone emulator on the mac ?

edit: going to check this
http://www.bobbychanblog.com/2011/07/faster-android-emulator-alternative-using-virtualbox/

if that don't work than the only good way to test apps is a real android I think...


Volker(Posted 2011) [#4]
You can although try youwave. A lot faster than the emulator.
http://youwave.com


MikeHart(Posted 2011) [#5]
The android emulator is super slow. It will never give you an indication of how fast your app is running on a real device.


GC-Martijn(Posted 2011) [#6]
@Volker tested but din't start (error) probably because I use win7 64x or because I installed and uninstalled virtualbox before.

@MikeHart
I do know that now :( so I think buying the cheapest android 2.3 phone...

at the moment that is the: Samsung Galaxy Gio S5660 (€ 148,-)
http://tweakers.net/pricewatch/282491/samsung-galaxy-gio-s5660-zwart.html#tab:info

So when I buy that phone, I can upload the app using usb or something to that phone and test if it works (I hope)

Its not the fastest phone but cheapest


chimaera(Posted 2011) [#7]
I bought a Samsung Gio last week just to be able to check my work with on an android devide. It is cheap, has a 480x320 screen (180 PPi), and supports multi-touch (2 points only) which I guess is the lowest spec you want to have if your are a developing a game on for the android market.

I only use it for app development and for this purpose it works really well, so I can't comment on how good the phone is in general.

I too have tested the Android SDK emulator and it doesn't come close to using a proper phone. First of all it takes me 20 seconds to compile and install my app on the emulator and only 10 seconds to do the same for my Samsung Gio (connected via USB).

Hope this helps. If you need more information about the phone drop me a line.


GC-Martijn(Posted 2011) [#8]
haha cool , I'm going to use the phone like you only for debugging.
Now I know that it is possible thanks !


Samah(Posted 2011) [#9]
haha cool , I'm going to use the phone like you only for debugging.

Be aware though, Monkey's debug mode in Android is SLOW compared to release.


therevills(Posted 2011) [#10]
You could also try this:

http://www.monkeycoder.co.nz/Community/posts.php?topic=1394