Good day! How can I register in the button button so that when I click it, the browser and the site open? Those. I need to change the link to the site, and the button opens this site from the application.

Everything is as usual:

  View.OnClickListener oclBtnOk = new View.OnClickListener() { public void onClick(View view) { switch (view.getId()) { case R.id.button9: 

Well, in the case you need to register what will open the site.

    1 answer 1

    Implicit call intent, where specify the MY_URL link to the page.

     Intent intent = new Intent(Intent.ACTION_VIEW,Uri.parse(MY_URL)); startActivity(intent);