I am developing a alarm application for android.
Inputs from user : Time(TIme dialog), Repeat days(sun,mon,tue .....), Repeat weekly(yes or no) and tone.
After user clicks on save I have to start a alarm using alarm manager.
Now I have lot of confusion. According to android setting alarm using same pending intent multiple times has no effect and only latest one takes effect.
Now my question is:
I have two use cases
1.user selects time and repeat days(for example: mon, wed, sat) and no for repeat weekly
2.user selects time and repeat days(for example: mon,tue,wed) and yes for repeat weekly.
here how to start each alarm.