I have an Android Web apps using jquerymobile and phonegap.
I already compress js/html, place my scripts at the bottom of the page, and I am still not satisfied with the performance of my apps, especially when my script is doing DOM manipulation.
The response of the touch event is very slow (>2 sec or event more).
Tested with Android Browser/Android Firefox and the results are still the same.
When I compare the performance to the normal desktop browser / iPhone Safari / BlackBerry Browser / Nokia Browser my apps are responsive.
Specifications:
- Samsung Galaxy Tab II
- Android ICS 4.0
- phonegap 1.8.0
- jquerymobile 1.1.0
Recap of what I have already tried:
- Get to deviceready faster.
- Minimize / compress JS code using YUI Compressor
- Move script tags to the bottom of the body tag.