Hello everybody,

I have a strange problem. Hopefuly somedoy can help me.
The WebView I'm using is launched always as a new browser with all its
functionalities. The back button brings me back to the activity, where
the WebView normaly should appear. It worked fine in Version 1.1.  :-(

Code for loading WebView in onCreate:
setContentView(R.layout.showdetails);
String link = "";
Intent intent = getIntent();
Bundle b = intent.getExtras();
link = b.getString("link");
WebView content = (WebView)findViewById(R.id.webview);
content.loadUrl(link);

XML layout:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/
android"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:orientation="vertical">
    <WebView
        android:id="@+id/webview"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent" />
</LinearLayout>

--~--~---------~--~----~------------~-------~--~----~
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