10 Feb 2012 10:59 AM #1
Hi! I've created a simple app (Sencha Touch + PhoneGap) but it seems very slow: when I tap on a button, there is a delay before show response. Why this??
10 Feb 2012 11:03 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
It depends on what your app is doingMitchell Simoens @SenchaMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services firstname.lastname@example.org
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
10 Feb 2012 11:48 AM #3
Now it's very simple... show records imported.... but when I tap on top or bottom buttons... I show delay before show action.
12 Feb 2012 9:47 AM #4
I think what you're experiencing is the delay the browser adds before registering a button click/tap event. Try using the "touchstart" event instead of "tap", and see if the delay is gone. Of course, it will screw up your scrolling, so you'll have to implement something like what Google has with their mobile gtalk app.
12 Feb 2012 11:52 AM #5
12 Feb 2012 12:06 PM #6