My code is Toast.makeText(getApplicationContext(), \"My message \", Toast.LENGTH_SHORT).show(); how to show notification for two second
Use following code instead of your code