show Info Message using Toast - Android android.widget

Android examples for android.widget:Toast

Description

show Info Message using Toast

Demo Code

import android.content.Context;
import android.widget.Toast;

public class Main{

    public static void showInfoMessage(Context context, int message) {
        Toast.makeText(context, message, Toast.LENGTH_SHORT).show();
    }/*from w ww  . java 2  s. co  m*/

}

Related Tutorials