Java tutorial
//package com.java2s; //License from project: Apache License import android.content.Context; import android.content.Intent; import android.net.Uri; public class Main { public static boolean openUrlSchema(Context context, String uri) { try { Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(uri)); context.startActivity(intent); } catch (Exception e) { e.printStackTrace(); return false; } return true; } }