creating error display for android using toast code example Example: Toast messag eandroid Toast.makeText(context, text, duration).show();