We have developed a android browser application (javascript) which keeps 
(every 3Sec) on sending a http (GET) request to my REST server (hosted on 
TOMCAT).

Everything works fine till the time phone is in operation. But as soon as 
phone is lying idle, the browser application's javascript stops sending the 
HTTP requests.

The phone is connected with our test WIFI router, and in the phone setting 
we have kept WIFI connected even if phone goes in the idle state.

We are capturing HTTP packets with wireshark on the REST server machine. 
Till the time phone is in working state, we recieve HTTP request packet but 
as soon we leave the phone (and it goes to idle state) idle, HTTP packets 
stops appearing on the Wireshark (however some TCP packets are visible).

The same behavior is there on IPhone device as well, Is it the default 
behavior of SmartPhone browsers?

Please help if someone have faced this kind of situation or have similar 
experience.

PS. on android, the browser we are using is the default browser and android 
version is 4.0.3


-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to