28 Mar 2012 9:04 PM #1
Unanswered: sencha+ phonegap+ android jsonp not loaded
my sencha touch web app work fine in chrome,
app also work on android emulator
also i copied same folder in mobile and open index.html it's also work, jsonp data loaded
but when i make apk using phonegap my application load but not call jsonp data --why?
i use Android sdk 2.3.3 and phonegap1.2.0
hope you can help me
29 Mar 2012 5:29 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
You need to use a remote debugger like weinre to see if there are errors or anything.Mitchell Simoens @LikelyMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services firstname.lastname@example.org
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
1 Apr 2012 8:41 PM #3
now my app work for android 2.2 and 2.3 but same apk not working on android 4.0.3
1)my code is like
values= new Array();
here my app pause
--for above code webApp work for android 4.0.3 and not android 2.2 and 2.3 (no apk direct from web)
2)i change code
val=localStorage.getItem('localStorageName'); values= new Array();
now it's work for android 2.2,2.3,4.0.3(no apk direct from web) -- why not for above?
now i make apk which work for android 2.2 and 2.3 but not for android 4.0.3--why this?