Arduino Uno

Header

Corner

Toast

You may want to display a short message, just similar to the well known alert() from JavaScript. In Android, this is called a Toast.

Toast toast = Toast.makeText(getApplicationContext(), 
             "Your text
with two lines ;-)", 
             Toast.LENGTH_LONG);
toast.show();

 Official Toast developper page