This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Android and the fly likes 50 Hacks question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "50 Hacks question" Watch "50 Hacks question" New topic

50 Hacks question

paul nisset
Ranch Hand

Joined: May 13, 2009
Posts: 193


I have recently started playing around with a technology called Phonegap .
It basically compiles HTML 5 down to Native code - either Android, IOS ,or some other phone platform .

To me, it seemed like an easy hack for a basic Android app without learning Android

I am running/debugging it in the eclipse Android development environment .

However performance with the emulator is horrible .
Sometimes it loads ,sometimes it doesn't ,sometime it just takes a really long time.

Any hacks for doing something similar that might perform better during development ?


Carlos Sessa

Joined: Apr 17, 2013
Posts: 14
The only speed up development time hack is about installing dependencies on the device.
That would allow you to avoid pre-dexing jar files and copying a smaller apk to the device.

Have you tried the intel emulators? They are faster.

Also remember that once the emulator is launched you don't need to close it and start again.

paul nisset
Ranch Hand

Joined: May 13, 2009
Posts: 193

Thanks for the tips.
I haven't tried the Intel emulators. I have just been using the ones that come packaged with the Eclipse IDE .
There is probably a way to link in external emulators.

I agree. Here's the link:
subject: 50 Hacks question
jQuery in Action, 3rd edition