To my knowledge phonegap runs in a WebView and provides JavaScript 
functions for interfacing with device features. You can never ever get 
native app performance out of a web app.

Especially the rendering is slow on Android's WebView, because all these 
nice little webkit CSS transformations are not hardware accelerated like on 
iPhone. Animations will be sluggish by default. Also (out of experience) 
handling touch events with JavaScript will be sluggish. It simply does not 
feel "right".

Since WebView is a closed environment you cannot change, there is also no 
way to significantly improve the performance. The only thing you could do 
is simplifying the user interface, cut out fancy animations and so on.

I know that solutions like phonegap appear to be very attractive at a first 
glance because you can reduce development time / cost. But in the long run 
you are facing these performance issues. And some users will even notice 
that their app is "fake" because it is running in a WebView.

Instead of using phonegap you could also take a look at 
http://www.appcelerator.com/developers
Basically you are coding in JavaScript and the compiler generates native 
applications for your target platforms (Android, iPhone).

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to