We had an activity that simply created a WebView object and loaded a
single URL.  In the manifest we had it declared to use the Dialog
theme.  Everything worked perfectly well with Android 1.1

Now that we have upgraded to 1.5, the dialog loads with only the
title.  None of the webview loads at all.  Is this a bug in 1.5,
intended design, or did something change?

Here's the code that worked in Android 1.1:

public class HelpPages extends Activity {

        private WebView wv;

        public void onCreate(Bundle savedInstanceState) {
                super.onCreate(savedInstanceState);

                String helpTopic = this.getIntent().getStringExtra("helpTopic");
                String startPage = "http://www.oursite.com#";
                                + helpTopic;

                wv = new WebView(this);
                wv.loadUrl(startPage);
                setContentView(wv);
        }
}


Thanks,
Derek
--~--~---------~--~----~------------~-------~--~----~
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