Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;
//License from project: Open Source License 

import android.content.Context;

import android.widget.Toast;

public class Main {
    private static Toast toast;

    public static void ToastLong(Context context, String message) {
        toast = Toast.makeText(context, message, Toast.LENGTH_LONG);
        toast.show();
    }
}