Hey,
I'm trying to open a web page inside my newest android app. (I'm following this guide...)
http://developer.android.com/reference/android/webkit/WebView.html
My goal with the app is to open up the web page every time it gets opened, but the web pages need to open within the activity.
With the code below, it does open the web page, but inside the browser app, how can I open the web page inside my own app?
What specific changes do I need to make on my .java activity file, and my .xml layout file?
// part of .java activity file
WebView webview = new WebView(this);
setContentView(webview);
webview.loadUrl("http://www.google.com/");
I haven't modified the .xml file, but should I?