How to call a web page from android without exiting the app -


i'm new in android need call web page app without exiting try code:

intent intent = new intent(intent.action_view); intent.setdata(uri.parse("http://www.google.es")); activity.startactivity(intent); 

and doesn't work.

thank help!!!

in xml layout file, use webview

<webview  xmlns:android="http://schemas.android.com/apk/res/android"     android:id="@+id/webview1"     android:layout_width="fill_parent"     android:layout_height="fill_parent" /> 

Comments

Popular posts from this blog

Line ending issue with Mercurial or Visual Studio -

R - Plot: How to format in 10-base scientific notation and put it text, mtex, title etc functions? -

validation - How to pass paramaters like unix into windows batch file -