Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8337889
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T04:25:26+00:00 2026-06-09T04:25:26+00:00

I am making app which uses alarm , which is to be triggered on

  • 0

I am making app which uses alarm , which is to be triggered on days specified by the user i.e there are check boxes of days(mon, tue, wed, thu, fri, sat, sun)

I have searched a lot on this question, the only solution i came to know is to trigger different alarms using AlarmManager. its mean if user checks all the 7 boxes, i have to trigger alarm 7 times, and to cancel all 7 pending intents if user cancel one alarm?

my question is , is there any other efficient way to handle this issue??

thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T04:25:29+00:00Added an answer on June 9, 2026 at 4:25 am

    I will assume that you want to trigger the alarm at the same time (let’s say 12:00 am) no matter what day is it as long as the day is checked. Based on that you can:

    • have seven different Boolean sharedPreferences for each day.
    • Set the AlarmManager to be triggered daily at 12:00 am.
    • When the AlarmManager is triggered, you get the day and check if it is checked:
      • If yes, then do your thing.
      • If no, do nothing.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm making an app which uses internet. I remember there was something developers had
Hi I'm making an app which uses only the broadcast receiver. It serves three
I am making a dictionary kind of an app which uses SQLite . I
i m making APP which do image proceesing using java SE.i want to check
Hi i'm making an app which need to get user's gmail account contact list
How to change sizes of ViewController? I'm making simple app which uses deliberately two
I am making an iPhone app which uses UIButton s with Placeholder text on
I'm making an app which uses push notifications, and I know that I need
I'm making an app which uses CoreLocation to provide GPS coordinates. The next thing
long time reader, first time asker... I am making a music app which uses

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.