Unanswered: sencha+ phonegap+ android jsonp not loaded
Unanswered: sencha+ phonegap+ android jsonp not loaded
Hi,
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
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=JSON.parse(localStorage.getItem('localStorageName')); if(values==null)
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();
if(val!=null)
values=JSON.parse(val);
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?