Java tutorial
//package com.java2s; import android.content.ActivityNotFoundException; import android.content.Context; import android.content.Intent; import android.net.Uri; public class Main { public static void rateApplication(Context context) { Uri uri = Uri.parse("market://details?id=" + context.getPackageName()); Intent goToMarket = new Intent(Intent.ACTION_VIEW, uri); try { context.startActivity(goToMarket); } catch (ActivityNotFoundException e) { // UtilityClass.showAlertDialog(context, ERROR, "Couldn't launch the market", null, 0); } } }