XML : Run the app only when internet available

I want my application to run only when there is internet available since is is supposed to check a db online and I don't want to save anything on the device.

How can I make that check and set a screen that appears at the beginning saying that there is no internet available?

No comments:

Post a Comment