show Long Message via Toast - Android User Interface

Android examples for User Interface:Toast

Description

show Long Message via Toast

Demo Code


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

public class Main {
    public static void showLongMessage(Context context, String message) {
        Toast.makeText(context, message, Toast.LENGTH_LONG).show();
    }//from w w w  .  java 2  s . co  m
}

Related Tutorials