I am creating an android app. In Which when I click on a button it opens a url in app browser. It works fine on my Android device version 4.2. but when I do the same on Acer Iconia, my app crashes.
Code to open url in browser :
String url="https://www.google.com";
Intent browserintent = new Intent(Intent.ACTION_VIEW, Uri.parse(url));
startActivity(browserintent);
Is there any issue in code or its issue with the ACER Iconia. Can anyone suggest me how to solve this problem.
Code to open url in browser :
String url="https://www.google.com";
Intent browserintent = new Intent(Intent.ACTION_VIEW, Uri.parse(url));
startActivity(browserintent);
Is there any issue in code or its issue with the ACER Iconia. Can anyone suggest me how to solve this problem.