Hello,

I've been searching and looking for this answer for quite some time
now. I want to display a little HTML in a webView.

When the User read the HTML, he's supposed to use the back button to
go back to the previous activity. However, it closes the App.

How can I make it go back to the last Activity? It would also be ok to
display a soft back button or something.

Here my code

[snip]
WebView webview = new WebView(this);
setContentView(webview);
webview.canGoBack();
webview.loadData(worker.getHtmlResult(), "text/html", "utf-8");
[snap]

Thanks,

Toby

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to