It is necessary that when you click on the button, the program translates to the company's website.
2 answers
Add buttons to the handler:
Uri address = Uri.parse("ссылка на сайт компании"); Intent intent = new Intent(Intent.ACTION_VIEW, address); startActivity(intent); - noted, just because you - the first answered. Thank! - GuardFromUA
|
In the handler for clicking on your button, add the intent that passes your link:
Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse("http://www.my-company-site.ru")); startActivity(browserIntent); - also the correct answer - GuardFromUA
|