My application should send some data to the server when the device is connected.
I read about Android Broadcast's own actions. I was ready to find a way to use it as gmail when the device connects to the Internet. (The download icon at the top when synchronizing messages)
Is it ACTION_SYNC what I'm looking for?
If not, how does gmail know when a device connects to the Internet?
android
Macarse
source share