What you can do is
Import this in your java file import java.util.Calendar;
and copy this in whichever function you’ll use.
Calendar c = Calendar.getInstance();
if(c.get(Calendar.DAY_OF_WEEK) == Calendar.SATURDAY){
text1.setText("True");//this is optional just to show that this is working perfectly.
//You can do whatever in this, it will only works when the day is saturday.
}
4
solved How set a notification every Saturday?