-
30 Jan 2013 1:53 AM #1
Unanswered: Integrating phonegap.js in sencha touch 2.1.0 > not compatible ?
Unanswered: Integrating phonegap.js in sencha touch 2.1.0 > not compatible ?
Hi Guys,
I've copied the cordova.js file from phonegap lib (android) into the sencha root dir project.
Added the javascript declaration in the index.html of sencha.
Inserted this function in index.html :
Then packaged everything using sencha package cmd and tested on android emulator.Code:<script type="text/javascript"> document.addEventListener("deviceready", function () { alert('Our first PhoneGap app'); }, false); </script>
Well, it doesn't seems to work... Moreover i have tons on lines enumerating "Unexpected value from nativeGetEnabledTags:0"
Have a clue ?
-
30 Jan 2013 4:17 AM #2
hey, have you tried to include the js file in app.json ? Then it will be loaded by ST. Maybe this could help...
-
30 Jan 2013 4:21 AM #3
I haven't used this myself, but have heard very good things from other threads on the forums. Maybe following an example through will help you out:
http://bricemason.github.com/sencha-cordova-builder/


Reply With Quote