Hi,
I have developed a quiz app which is working fine when I am testing the app in pc browser.
But when i build apk and install on android 4.2.2 device, it does not load at all.
I had coded for radio button click event initially. After reading some posts here, I modified them to 'value change'.
I have below the code which is executed on page load event.
jQuery.getJSON("files/resources/data/mf.json", function(result){
localStorage.setItem("data",JSON.stringify(result));
var sam = new Array(result.length);
localStorage.setItem("answers",JSON.stringify(sam));
});
var data = localStorage.getItem("data");
var mydata = JSON.parse(data);
count = 0;
localStorage.setItem("count",count);
Apperyio('question').val(mydata[count].question);
Apperyio("choice1").find(".ui-btn").text(mydata[count].choice1);
Apperyio("choice2").find(".ui-btn").text(mydata[count].choice2);
Apperyio("choice3").find(".ui-btn").text(mydata[count].choice3);
Apperyio("choice4").find(".ui-btn").text(mydata[count].choice4);
Apperyio("submitexam").hide();
Apperyio("prevButton").hide();