Unanswered: Handling ajax requests on native android apps.
Unanswered: Handling ajax requests on native android apps.
I have packaged a Sencha Touch 2 app with PhoneGap for Android. I can't get the ajax requests to work on my native application. When I handle the request through the browser on http://mydomain.com/mysenchaapp/android/assets/www/ it works fine, however, when I run my app through the emulator as a native app my request fails. I think it would be helpful if I could get fiddler to work on handling native apps' request as well, but I haven't been able to figure that out either. Any help is appreciated.
For native applications, you may try with Ext.data.JsonP.
This class is used to create JsonP requests, allows for making requests for data cross domain. It is used to request data from a server in a different domain, something prohibited by typical web browsers because of the same origin policy.