jaytech123 / android-query

Automatically exported from code.google.com/p/android-query
0 stars 0 forks source link

Avoid networking in offline mode #89

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. switch your phone to offline mode
2. try to make any AQuery ajax request
3. all networking stuff is processed and the call fails on client.execute(hr, 
context);

What is the expected output? What do you see instead?
Please consider checking if there is Internet connection before starting 
networking (building headers, prepare entity, ...), this all are very expensive 
calls, client.execute() takes hundreds of milliseconds.

What version of the product are you using? On what operating system?
0.22.10

Please provide any additional information below.

Original issue reported on code.google.com by vladisla...@gmail.com on 26 Sep 2012 at 9:11

GoogleCodeExporter commented 8 years ago

Original comment by tinyeeliu@gmail.com on 5 Oct 2012 at 1:59