문제

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.

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top