Create report Toast - Android User Interface

Android examples for User Interface:Toast

Description

Create report Toast

Demo Code


//package com.java2s;
import android.content.Context;
import android.widget.Toast;

public class Main {
    public static void reportToast(Context context, String message) {
        Toast mToast = Toast.makeText(context, message, Toast.LENGTH_LONG);
        mToast.show();/* ww w.j  a  va  2 s.com*/
    }
}

Related Tutorials