phonegap 0.9.3 onReceivedError: Error code=-6 Description=The connection to the server was unsuccessful. URL=file:///android_asset/www/index.html

Showing 1-4 of 4 messages
phonegap 0.9.3 onReceivedError: Error code=-6 Description=The connection to the server was unsuccessful. URL=file:///android_asset/www/index.html droid 1/22/11 6:06 AM
Hi

previously i am using phonegap 0.9.2 in my applicaion, if   i use
phonegap 0.9.3 instead of phonegap  0.9.2 i got the error

onReceivedError: Error code=-6 Description=The connection to the
server was unsuccessful. URL=file:///android_asset/www/index.html

and the app closely forcely.

how to solve this problem


Re: phonegap 0.9.3 onReceivedError: Error code=-6 Description=The connection to the server was unsuccessful. URL=file:///android_asset/www/index.html Riceball 2/14/11 12:16 AM
The problem may be the mobile's network is too slow to get some url.
Try add this line to your code(src/com/phonegap/xxx.java):
         super.setIntegerProperty("loadUrlTimeoutValue", 60000);

but I do not think It's not a good idea to stop the app when the url
timeout.
Re: [PhoneGap] Re: phonegap 0.9.3 onReceivedError: Error code=-6 Description=The connection to the server was unsuccessful. URL=file:///android_asset/www/index.html robbiegod 2/14/11 5:32 AM

u could also try to. make it your homepage doesnt require the inteenet to work. like if u connect to jquery via the internet instead wrap jquery with your app.

> --
> You received this message because you are subscribed to the Google
> Groups "phonegap" group.
> To post to this group, send email to phon...@googlegroups.com
> To unsubscribe from this group, send email to
> phonegap+u...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/phonegap?hl=en?hl=en
>
> For more info on PhoneGap or to download the code go to www.phonegap.com
Odp: phonegap 0.9.3 onReceivedError: Error code=-6 Description=The connection to the server was unsuccessful. URL=file:///android_asset/www/index.html Bart G 6/23/11 2:36 AM
Make sure you've got path to phonegap js file set up correctly in your index.html (ie. phonegap.0.9.3.js instead of phonegap.0.9.2.js).