Hi,
Just to be sure... is the previous Activity still on the task stack?
You did not finish() it?

On Nov 15, 6:16 am, toby <[email protected]> wrote:
> 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 [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

Reply via email to