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
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
2 matches
Mail list logo