Back to project page twilio-sms-babel.
The source code is released under:
Apache License
If you think the Android project twilio-sms-babel 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 com.example.smsbabel.utils; // www. j av a2s .co m import android.content.Context; import android.util.Log; import android.widget.Toast; public class DisplayMessages { private static final String LOG_TAG = "Twilio.Babel.DisplayMessages"; public static void showWarn(Context applicationContext, CharSequence message) { Log.i(LOG_TAG, "showWarn(): showing toast with text \"" + message + "\""); Context context = applicationContext; int duration = Toast.LENGTH_SHORT; Toast toast = Toast.makeText(context, message, duration); toast.show(); } }