Java tutorial
//package com.java2s; import android.app.Activity; import android.content.Intent; import android.net.Uri; public class Main { public static void openLink(Activity activity, String url) { if (url == null) return; if (!url.startsWith("http://") && !url.startsWith("https://")) url = "http://" + url; Intent intent = new Intent(Intent.ACTION_VIEW); intent.setData(Uri.parse(url)); intent = Intent.createChooser(intent, null); activity.startActivity(intent); } }