how to use toast in android studio code example Example: Toast messag eandroid Toast.makeText(context, text, duration).show();