• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Managing Alarm from 2 different applications

ifreeman

Lurker
Hi All,

I need help in my app development.


The thing is i will be having two separate applications (2 projects). In one application, i have to start a repeating alarm and in
the other application i have to cancel the same alarm that was started in the first application.

The Android documentation says, the same pending intent and the intent object that was used to start the alarm
should be used the cancel the alarm.

So in this scenario, the pending intent and the intent object that was used to start the alarm will belong to application1 so i cannot used the same objects in application2

How do I proceed?

In summary - The problem is, I need to start a repeating alarm from one application and i have to cancel the same alarm from another application.

Can this be done. If so, How?


Thanks in advance.

ifreeman
 
Back
Top Bottom