I made a service and a Activity, I need the processing in the following Manner
Like the service starts automatically at application boots up, and check periodically if there is network available or not, and whenever it is available then notify to the user.
How i can do this, i want some alarm manager or blinking screen until the network is available
Thank You
You should make an
BroadcastReceiverthat will be triggered when the connectivity status has changed, by adding this in yourmanifest:and then in your
receiveryou can check if you have connectivity: