Click here to Skip to main content
15,851,242 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
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.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900