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?
ImageView Button = (ImageView)findViewById(R.id.button); Button.setOnClickListener(new OnClickListener() { public void onClick(View v) { Uri uri = Uri.parse("http://google.com/"); Intent intent = new Intent(Intent.ACTION_VIEW, uri); startActivity(intent); } });