I am designing an app, with several button for users to click on. Once button is clicked, user is directed to appropriate website. How do I accomplish this?
you can use this on your button click activity
Intent webOpen = new Intent(android.content.Intent.ACTION_VIEW); WebOpen.setData(Uri.parse("http://www.google.com")); startActivity(myWebLink);
and import this on your code
import android.net.Uri;