Domanda

i'm developing app using XDK new editor and it contains a list which is update by JSON (getJSON).app working correctly with XDK Emulator.but not with real device. i want to know how to set network connection permission manually to the app.

È stato utile?

Soluzione

If the API you are using supports JSONP, then use "callback=?" param (or whatever the callback name is) in the URL for $.getJSON(), then it should work on the real device.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top