I have PhoneGap-Android app and I am using Jquery. I am doing ASYNCHRONOUS AJAX call and during the call, app just freezes and waits after AJAX call finish ( it is mainly noticeable when on GSM connection ).
I would understand this, if I would be doing synchronous request, but I have:
$.ajax({type: 'POST',url: 'http://www.example.com', data: data,async:true,success:callback});
Anybody can help ?
Ran into the same problem today. Solved it by using a setTimeout with a 10ms delay.
Not sure why it works, which is scary. But does work.