File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 201


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: 201

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
It's not a secret anymore!