Re: [android-developers] Re: how to add URL button

2014-11-01 Thread sree android
try this code public void callWebURL( String urlLink) { Intent urlCalling= new Intent( Intent.ACTION_VIEW , Uri.parse( urlLink) ); startActivity( urlCalling); } On Sat, Nov 1, 2014 at 10:30 AM, Naresh Pedagani nareshpedag...@gmail.com wrote: for this you can use webview,please go

[android-developers] Re: how to add URL button

2014-11-01 Thread Sheharyar Naseer
From what I understand, you want to add a Button that when tapped, would open a specific URL in the browser, right? Place a button in your Layout, give it an ID and in your Java Code, use this: Button button = (Button) findViewById(R.id.button_id); button.setOnClickListener(new

[android-developers] Re: how to add URL button

2014-10-31 Thread Naresh Pedagani
for this you can use webview,please go through bellow example. http://javatechig.com/android/android-webview-example On Wednesday, October 29, 2014 6:06:29 PM UTC+5:30, Osamah Alzouby wrote: Hello I want to add URL button to my project. How I can create it? Thank you -- You received