Tag Archives: messagebox

5,149 views

Alert messagebox toast Android example code

Toast in Android application is equivalent of Alert in JavaScript or MessageBox in WinApi. // Toast android.widget.Toast.makeText(Context context, CharSequence text, int duration) // public static Toast makeText (Context context, CharSequence text, int duration)   Toast.makeText(getApplicationContext(), "Hello world!", Toast.LENGTH_SHORT).show();

Posted in Android Examples Code | Tagged , , , | Comments Off on Alert messagebox toast Android example code