This might be old question, but I have not find right answer by now.
My app uses one service which is active all the time (device is not going to sleep). But 3G data connection is automatically turned off after some time (controlled by device if no activity by user is done within cca 15 min).
My app invoke some web page (send/receive data) every minute, but connection is till closed after 15 min.
1) How can I lock connection not to close ?
or better
2) How can I reconnect to 3G from my app ?
My app uses one service which is active all the time (device is not going to sleep). But 3G data connection is automatically turned off after some time (controlled by device if no activity by user is done within cca 15 min).
My app invoke some web page (send/receive data) every minute, but connection is till closed after 15 min.
1) How can I lock connection not to close ?
or better
2) How can I reconnect to 3G from my app ?