Re: [android-developers] How to pass a web link to a button.

2011-11-22 Thread Mohd Arshi Khan
When the button is clicked (e.g., android:onClick attribute), call
startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(url))); where
url is the URL you want to link to.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] How to pass a web link to a button.

2011-11-21 Thread vedika nimje
Hi all Android Developers. I need ur help. I lost the code to how can i
pass website link to a button. Pls help me again.

Thank u all in advance.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en