I'm building a multiplatform tablet app wrapping it with Phonegap 1.4 using just its webview, then I work my magic with the Sencha Touch 2 framework. By multiplatform I mean iOS 5.X+ and Android 3.0+ (for now).
This app is working great so far, all its features work on both systems but... On the Android tablet (Samsung GalaxyTab) its really slow. What's happening? Can I do something about it, or its just android's limit?
Thanks
Ricardo Perre: http://edgecodetechology.blogspot.pt/
****EDIT**** (I'm trying to make this post somewhat useful to sencha community)
Sencha Touch, like many other Javascript Frameworks are not the best example of performance due to javascript itself.
Then Why use Sencha Touch?
- In my case: Multiplatform (iOS, Android, Windows Phone, Blackberry, Windows, Mac OSX, Linux. Sharing 80-90% of the code)
Mitigating performance issues due to lack of visual pre-process in Android systems:
CSS3 heavy visual process:
- Avoid Gradients
- Avoid Shadows
- Avoid Transformations and animations
Good MVC practices:
- Don't use more views and you actually showing
- Pre-render / Pre-datafetch when possible to avoid render and data process simultaneously
For any scrollviews, overscroll should be disabled on Android. I've tested many Sencha Touch 2 applications on Android devices and overscroll causes badly unpleasant experience because of delays and lags. (tested on Galaxy Tab, Nexus S, and some HTCs) by Thiem Nguyen (I've been mining your posts, sorry dude :P)