[Solved] How to set specific time in Toast?


What you can do i use Calendar class to get the current time. Check the time and display the toast accordingly.

Calendar currentTime = Calender.getInstance();
int hour = currentTime.get(Calendar.HOUR_OF_DAY);

if(Use your condition here) {
    Display toast
} else if(Use your other condition) {
    Display toast
}

Just a note, your hour would be in 24 hour format so you need to check keeping that in mind.

solved How to set specific time in Toast?