Java tutorial
//package com.java2s; import android.content.Context; import android.content.Intent; import android.net.Uri; public class Main { public static void openPost(Context context, String postUrl) { try { Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(postUrl)); context.startActivity(intent); } catch (Exception e) { e.printStackTrace(); } } }