Android Open Source - garageoPIner-androidApp Display Toast

From Project

Back to project page garageoPIner-androidApp.


The source code is released under:

Apache License

If you think the Android project garageoPIner-androidApp listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.wirthual.garageopiner.communication;
//from w w  w . jav  a 2  s .co  m
import android.content.Context;
import android.widget.Toast;

public class DisplayToast implements Runnable {
    private final Context mContext;
    String mText;

    public DisplayToast(Context mContext, String text){
        this.mContext = mContext;
        mText = text;

    public void run(){
        Toast.makeText(mContext, mText, Toast.LENGTH_SHORT).show();

Java Source Code List