How to handle Alarm notification in Android?

Posted by Asheesh Vashishtha on Stack Overflow See other posts from Stack Overflow or by Asheesh Vashishtha
Published on 2010-04-26T12:45:13Z Indexed on 2010/06/17 5:33 UTC
Read the original article Hit count: 504

Filed under:
|

Hi,

I'm developing an media player application for Android, for which I need to handle any Alarm notification, and based on that I'll pause my playback. When the Alarm in snoozed or dismissed, I'll then resume the playback.

I googled a lot for the Alarm handling, but what I found was the way to enable Alarm notifications through code, set the intent and then handle it. However, no where could I locate just handling the Alarm notification part. I don't need to set the Alarm on, it could've been set by the user, and I don't need to programmatically. All I need is just handle that notification.

Any ideas on this would be extremely useful?

Thanks, Asheesh

© Stack Overflow or respective owner

Related posts about android

Related posts about alarm