internet connection check

My application will have admob to display ads, so it is necessary that the application only work with the user's cell phone connected to the internet, how do I make it so that the user can only browse my application with an internet connection?

1
3 replies