Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

android toast

Toast toast;

private void toast(String msg) {
  if (toast != null) toast.cancel();
  toast = Toast.makeText(getBaseContext(), msg, Toast.LENGTH_SHORT);
  toast.show();
}
 
PREVIOUS NEXT
Tagged: #android #toast
ADD COMMENT
Topic
Name
5+1 =