3 ms·
>It lacked the fluidity and responsiveness you have with native apps. Having only messed around with phonegap a little recently, I wasn't sure if this was a re
by papsosouid 14y ago
>It lacked the fluidity and responsiveness you have with native apps.
Having only messed around with phonegap a little recently, I wasn't sure if this was a real issue or something I was doing wrong. Is the lack of responsiveness you describe a noticeable delay any time you try to interact with the app in any way? I made a trivial app that just has two pages, and switches between them when you click a button, and it was obviously, noticeably slow to react. Is that "normal" phonegap performance? I guess I am just hoping I did something wrong, because I don't see how anyone could possibly use phonegap if it really is that slow all the time.
- ryanwatkins 14y agoWhile there are performance issues in Webkit vs Native, for the trivial example the issue is usually the default delay in generating a 'click' event. Browsers wait 300ms to see if you're attempting a doubletap. You want to use a framework, or write some code to detect 'touchstart' for clicks to register with a minimum of delay. See https://developers.google.com/mobile/articles/fast_buttons https://developers.google.com/mobile/articles/fast_buttons