• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Please help Me

Gabyto

Lurker
Testing my development skill as a beginner
I have a simple webview app.The main Activity has a button which when clicked open up the second Activity with webview on it.
It actually working when the phone has internet connection , but my challenge is if there is no internet connection on my phone, the Loading please wait takes forever and the worst side is, its not responding to Phone back button .Clicking on Phone Back button does nothing but kept loading. This will be annoying for a user who will simply want to exit the App.

please what to do ,i need it response quickly when user click on Phone back button.
 
You'd be better off detecting whether the phone has internet connectivity or not, before trying to start the Webview Activity.
 
Back
Top Bottom