Java tutorial
//package com.java2s; import android.content.Context; import android.widget.Toast; public class Main { public static void showToastlong(Context applicationContext, String string) { Toast toast = Toast.makeText(applicationContext, string, Toast.LENGTH_LONG); toast.show(); } }