I'm currently working with a developer in the early stages of a relatively straightforward data capture iPad app using Phone Gap. From a UI functionally, the app is essentially:-
The key issue we are struggling to get over at the moment is that whenever you move to another page (by swiping or selecting on the navigator), there is a 1-2 sec delay before the transition kicks in and new page comes. This 1-2 sec delay is present even if we remove images from the pages. We want to get this delay down to <0.5 sec and/or for it to "feel" more like a native app, in terms of moving around the pages.
From a technical level, this is what the application consists of:-
We are new to PhoneGap and iOS app development. We're continuing to research ways to try and get over this speed delay and would like to know:-
I would be grateful for any tips and insight anyone can provide on this because if there is no way forward on fixing this delay and sluggishness, we may need to abandon Phone Gap and look at a native solution which will not be a straightforward option in our situation. Many many thanks in advance for your support on my first ever post to stack overflow!
jQuery Mobile adds a 300ms delay by default to tap events - it's listening for things like double-taps and swipes. If you are not using any of these types of events, consider incorporating FastClick (available on this thread) which has solved my speed issues in my PhoneGap/jQueryMobile app.
My personal opinion here. I have not had much luck with trying to make jQuery mobile feel native. I use a framework called App-UI for handeling page transitions and as a basic framework for my app (this framework is super light weight). Then I design the UI with pure CSS. (this causes the app to feel more native - try to handel transitions using CSS3).
https://github.com/triceam/app-UI
This requires other dependencies which include:
Again, this is my own opinion. This is what has worked best for me when developing mobile app that feel native.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With