Creating simple Pop Up message with Toast in Android

sometime we just need to show some information in pop up message. In Android we can use Toast. Here is the example code :

Toast.makeText(getApplicationContext(), “some message”, 1).show();

Advertisements