Use addJavascriptInterface() to add a Java object to the JavaScript realm, one that exposes a method that calls finish() on your activity hosting the WebView, to finish your presumed one-and-only activity.
Or, just let the user press HOME to exit the app. On Tue, Jul 3, 2012 at 11:12 AM, Jachym Kokesh Lukes <[email protected]> wrote: > I am wondering, if there is some way of existing the app by taping on > something within the Webview. > > My app loads mobile website into webview and acts on the outside like "real > app", but after going through the pages for thirty minutes, you must press > the back button almost for another thirty minutes to get out of the app. > > I myself don't believe, that it will be possible, but I am trying anyway. > Any ideas? > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in DC: http://marakana.com/training/android/ -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

