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

java - Run a .jar on Heroku -

java - Jtable duplicate Rows -

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