Page 1 of 1

When building for an iOS/Android device, do I need to use both 'Load' and 'Device Ready' before invoking services?

Posted: Mon Aug 17, 2015 2:26 am
by A.W.H.

Thanks!


When building for an iOS/Android device, do I need to use both 'Load' and 'Device Ready' before invoking services?

Posted: Mon Aug 17, 2015 2:26 am
by A.W.H.

Thanks


When building for an iOS/Android device, do I need to use both 'Load' and 'Device Ready' before invoking services?

Posted: Mon Aug 17, 2015 10:04 am
by Illya Stepanov

Hi Ave -

Sorry, I'm not sure I understand your question, could you please be more specific?


When building for an iOS/Android device, do I need to use both 'Load' and 'Device Ready' before invoking services?

Posted: Tue Aug 18, 2015 2:02 am
by A.W.H.

Ilya, my question is, when do I use device ready vs. load?

It seems they are the same thing, but device ready pertains to the app running on a physical device, and load pertains to the app running on either HTML5 web or the device.

I am curious if there are cases in which I need to use both for the same action. i.e. service.execute() when device ready & service.execute() when page load to cover both bases?

If not can you clarify the difference and when I should use one over the other? It seems like device ready is a subset of load, since every time the device is ready, the page will load.

Does that make sense?


When building for an iOS/Android device, do I need to use both 'Load' and 'Device Ready' before invoking services?

Posted: Thu Aug 20, 2015 8:56 pm
by Evgene Karachevtsev

Ave,

Such cases may exist, but it's hard to imagine them now. These links should help:
https://cordova.apache.org/docs/en/4....
http://www.w3schools.com/jquerymobile...