Java tutorial
//package com.java2s; import android.content.Context; import android.widget.Toast; public class Main { /** * Tag used on log messages. */ public static final String TAG = "MPVS"; public static void alert(Context c, String message) { Toast.makeText(c, TAG + "-" + message, Toast.LENGTH_SHORT).show(); } }