Java tutorial
//package com.java2s; import android.content.Context; import android.widget.Toast; public class Main { public static void showToastLong(Context context, String message) { if (message != null && context != null) { Toast.makeText(context, message, Toast.LENGTH_LONG).show(); } } }