java android show toast

Java
Toast toast = Toast.makeText(this, "message", Toast.LENGTH_LONG;);
    toast.show();Toast myToast = Toast.makeText(this, "I'm a toast!", Toast.LENGTH_LONG);
myToast.show();
Source

Also in Java: