how to create a toast message in android code example
Example 1: Toast messag eandroid
Toast.makeText(context, text, duration).show();
Example 2: how to make toast in android
Toast toast = Toast.makeText(this, "message", Toast.LENGTH_LONG;);
toast.show();