Back to project page MConsole.
The source code is released under:
MIT License
If you think the Android project MConsole listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package pl.skifo.mconsole; /* w w w. j a v a 2s . com*/ import android.content.Context; import android.widget.Toast; public class SimpleToastResponseReceiver implements ResponseReceiver { private String msg; private Context ctx; public SimpleToastResponseReceiver(Context ctx, String msg) { this.ctx = ctx; this.msg = msg; } @Override public void response(ServerResponse response) { Toast.makeText(ctx, msg, Toast.LENGTH_SHORT).show(); } }