title: ask user to connect to internet or quit app (android)
body: <p>i am working on an image gallery app, in which application is retrieving images from internet.</p>
  
  <p>so i want to prompt a dialog-box to ask user to connect to internet or quit application.</p>
  
  <p>show user both  WiFi and Carrier network option.</p>