private void openExtUrl(String url) {
final Uri parsedUri = Uri.parse(url);
PackageManager packageManager = getPackageManager();
Intent browseIntent = new Intent(Intent.ACTION_VIEW).setData(parsedUri);
// Create intent to show chooser
Intent chooser = Intent.createChooser(browseIntent, "Open url with ..");
if (browseIntent.resolveActivity(packageManager) != null) {
startActivity(chooser);
}
}
String scheme = mIntent.getScheme();
if (("http").equals(scheme) || ("https").equals(scheme)) {
openURL = mIntent.getDataString();