I have a very nasty problem. It happens that I have an application that uses its own sockets to transmit data over TCP. When I first launch my application and send data through sockets, nothing happens. However, if I then exit the process and restart it and then submit it again, it works. The same thing if I open a browser or something else before starting my application for the first time after hibernation.
How do I get 3G to wake up before I call my own code?
EDIT: I already tried with PowerManager.
Kaiserjohaan
source share