Toast toast = Toast.makeText(this, "message", Toast.LENGTH_LONG;); toast.show();
Toast.makeText(context, text, duration).show();