开发者

Should I have problem with connection to internet from iphone phonegap app through 3G or EDGE?

I have an app written in javascript/html/css and using phonegap framework. Fo开发者_运维技巧r javascript ajax I use jQuery.ajax(). App work fine when there is wifi connection but doesn't work when there is 3G or EDGE. Does anyone know if there is something I can do to make it work seamlessly?


To trouble-shoot, use PhoneGap's Reachability API to gauge your connection, whether its wi-fi, 3g/edge, whether you have an internet connection, your server is reachable etc.

The UIWebView does not differentiate what type of connection you have, its all transparent (at least it should...)


The means you are connected to the internet should not make a difference, unless the size of the datafile(s) you are transferring are too large for fast transit via 3G or EDGE.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜