添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
I have just run into a small "difficulty" REF. "too short" a timeout under "Android vs 2.3"
I have code that works on both "Android vs 4.x" and iOS... but FAILS under Android vs 2.3
When accessing "slow/standard" IPCAMs (serving JPEG/MPEG streams),
the same exact code works OK on a GALAXY S3, iPhone (several models), and iPad ...
but FAILS under Android vs 2.3 (T-mobile phone), with the error...
"Web page not available"
As per info on this link...
http://jquerymobile.com/demos/1.2.0/docs/pages/phonegap.html
I have just learned that...
Android enforces a timeout when loading URLs in a webview which may be too short for your needs.
You can change this timeout by editing a Java class generated by the Eclipse plugin for Android:
super.setIntegerProperty("loadUrlTimeoutValue", 60000);
After reading info referred in Icenium web pages (below), it does not seem possible to change this timeout value "programatically".
ANY SUGGESTIONS ?...
http://docs.icenium.com/configuring-your-project/edit-configuration
http://developer.android.com/guide/topics/manifest/manifest-intro.html
Thanks
Hi HJ,
Cordova has a corresponding property (loadUrlTimeoutValue) that should be changed if needed by editing the Android config.xml file as per the links you've shared at the end. You can see the available Android Cordova properties in their documentation here .
Regards,
Steve
Telerik
You've missed the Icenium Visual Studio Integration keynote? It has been recorded and posted here .
Looking for tips & tricks directly from the Icenium team? Check out our blog !
Share feedback and vote for features on our Feedback Portal .