ERROR: Trying to call cordova.exec () before "deviceready". ignoring

I am trying the "PhoneGap" (1.7.0) jQuery Mobile application (1.1.0). I need to create an android app. However, I continue to receive the following warning message.

ERROR: Attempting to call cordova.exec() before 'deviceready'. Ignoring.

It seems that I am changing the pages (change e.g. index.1.htm to index.2.htm)

I do not call Cordoba functions in my application - this is pure JQM.

Any ideas what the problem is. Or, otherwise, does anyone know why cordova.exec () can be called during a $ .ajax request?

I am running an application under Android 4.0.3 in a virtual device / simulator. Also try running the Android 2.1 and 2.33 simulator, getting the same error!

+5
source share
2 answers

, cordova-1.x.0.js( phonegap.js)

.

, iOS Android.

+20

, cordova.js. , . cordova www . .

0

All Articles