Is there a way to check when a device, which has not been connected to the Internet , is just connected. If I connect the phone to the Internet inside my application, I should do some actions (e.g. Toast
).
Note: It is not the same question with Detect if Android device has Internet connection and Android - checking if the device is connected to the internet.