my application can not connect to the server in sleeping mode and then stop working

11 views
Skip to first unread message

Mohamed Elshayal

unread,
Jan 6, 2014, 2:59:36 PM1/6/14
to phon...@googlegroups.com
Dear Sirs,

I am building a GPS Android application, which poll data from the server.
and it works well and keep polling from the server for a complete 10 minutes 
but when, I put the phone in sleeping mode it lose the connection to the server and give me an error message that it can not connect to server and then stop working

So please help me to do the following

1 - I wish, I could increase my Timeout to 10 minutes in sleeping mode so, I receive no error message
OR
2 - I wish, I could stop the error message and resume next 

Thank you and best personal regards
Mohamed Elshayal


Reply all
Reply to author
Forward
0 new messages