Pergunta

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.

Foi útil?

Solução

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.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top