Problem: Turn Off All alarms at once

General topics about the Android-Platform itself.
Coding issues please to the subforum right below.

Problem: Turn Off All alarms at once

Postby gopishkumar » Mon Nov 22, 2010 11:39 am

Hi All Android Developers,

I am doing DeskClock customization, where 1 'MuteAll' button is added which has to disable/turn off all active alarms at once.

Though we have a method in 'DeskClock' app called - enablealarm(Context context, final int id, boolean enabled), where to disable an alarm, enabled can be set false.

But this only for a particular alarm for a specific id. But I want for all alarm id's in the app.

Please help me on this.

Thanks in advance,
Once Poster
Once Poster
Posts: 1
Joined: Mon Nov 22, 2010 11:27 am


Re: Problem: Turn Off All alarms at once

Postby blundell » Mon Nov 22, 2010 11:18 pm

Do you know all the alarm ID's? or how would you get an alarm ID?
User avatar
Master Developer
Master Developer
Posts: 1610
Joined: Tue Nov 18, 2008 12:58 pm
Location: UK


Return to General

Who is online

Users browsing this forum: No registered users and 5 guests