Simple I want to show a web page in my activity with default action bar on top. How I can do it? App works properly without crash. Web site is opening but not embeded. It is opening in my Chrome Browser.
also I tried this solution but also it opens web page in chrome web browser http://developer.android.com/guide/webapps/webview.html#UsingJavaScript
... ... ...
public class xx extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
WebView webview = new WebView(this);
setContentView(webview);
webview.loadUrl("http://google.com/");
}
}
...