Questions tagged [repeatingalarm]

Alarm in Android that will be repeated after a certain pre-defined time interval.

Alarm in Android that will be repeated after a certain pre-defined time interval. Can be set through AlarmManager class.

238 questions
0
votes
1 answer

Android Alarm Based On a Time Stored in Shared Preferences

I'm building an android application which sends wifi usage data once a month via sms. Thus far I've managed to send the amount of wifi data usage via sms, save the date at which the application is first launched via shared preferences so it can be…
NoobDev954
  • 119
  • 1
  • 3
  • 11
0
votes
2 answers

implementing monthly repeating alarms

I have an alarm which I need to execute every 30 days. To avoid issues with the phone being powered off I have decieded this should be calendar based. The way I'm attempting to design it is when the application is opened - it sends the wifi data…
NoobDev954
  • 119
  • 1
  • 3
  • 11
0
votes
1 answer

Context Cannot be Resolved

I'm attempting to use a method to schedule monthly alarms described here: How to implement yearly and monthly repeating alarms? However I'm getting two errors on the lines: AlarmManager am = (AlarmManager) context …
0
votes
1 answer

AlarmManager going off before Set Time

I'm having an issue with my AlarmManger: The following correctly adds one day (because the time 9:25 has passed) the output is correct yet the AlarmManager calls the Broadcast within a couple seconds. Here's the relevant snippit. Any ideas? Calendar…
Michael
  • 573
  • 2
  • 12
  • 26
0
votes
1 answer

Monthly Scheduler in android

I am new in Android technologies and creating an app in which i have to give various scheduling options like (Daily ,Weekly and Monthly). I have done with daily and weekly but left with monthly. I have no idea how to do it please help
Supreet
  • 2,451
  • 8
  • 25
  • 42
0
votes
2 answers

Do BroadcastReceivers need to be their own process to be independent from the UI (activities)?

So I'm working on an app that uses the AlarmManager to broadcast an intent for my receiver to do a simple task and finish quickly. I want my receiver to run every few minutes so I use setRepeating to ensure this. I don't want to have to worry about…
Corey Ogburn
  • 24,072
  • 31
  • 113
  • 188
0
votes
1 answer

On boot_completed notification not shown

I am creating an app which shows notification in future date. For showing notifications in future i have taken help of AlarmManager. On button click in one of my activities i create notification like this Intent myIntent = new…
0
votes
2 answers

How to set a recurring AlarmManager to execute code on a scheduled date?

I am making a medicine reminder app which reminds people to take their medicine on a scheduled date-time. For example, if my start-date is 08-APR-2013 and the end-date is 12-APR-2013 and time is 11.30 am then the alarm should fire till 12-APR-2013…
Riddhi Shah
  • 477
  • 7
  • 26
0
votes
1 answer

Using Calendar with Repeating Alarm

I am trying to use a calendar to set an alarm manager to go off every Sunday. When I open the app, the alarm starts immediately and repeats everyday instead of once every Sunday. CODE: Calendar calendar = Calendar.getInstance(); …
Shane
  • 972
  • 2
  • 12
  • 27
0
votes
1 answer

How to prevent AlarmManager from being recreated with Server?

I have this Service that do other stuff in the background and must always be running. On its onCreate i've set an Alarm that sends an email once a day. The server is not running in foreground, so sometimes its get killed by the system, and then…
0
votes
1 answer

android alarm on specific days

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…
Haris
  • 1,822
  • 2
  • 22
  • 44
0
votes
2 answers

Repetitive alarm using alarm manager

I am trying to make an alarm application that takes multiple "n" time inputs from the user and rings at those particular times. For that I have created an array of EditTexts for both the hour and minute entries. In the onclick listener for the…
tanvi
  • 927
  • 5
  • 17
  • 32
0
votes
1 answer

alarm takes n multiple times

I am trying to make an alarm application that will take ‘n’ number of times from the user and buzz at those times and stores the difference in the timing so that the next user accesses the application, the stored difference is default. Here is the…
tanvi
  • 927
  • 5
  • 17
  • 32
0
votes
1 answer

Android service not stopping after cancelling

I have widget that start 2 services using AlaramManager and running them repeatedly: public static final String TAG = "RotterWidgetProvider"; public static ArrayList subjectsList; public static boolean isUpdated=true; public static…
Alex
  • 9,102
  • 3
  • 31
  • 35
-1
votes
1 answer

Schedule a task that run once a day only if internet connection available

I want a task to do which require internet connection and it's must scheduled once in a day. I achieve above task partially using alarm manager like below. Calendar c = Calendar.getInstance(); //gives u calendar with current time …
Zameel NM
  • 43
  • 8
1 2 3
15
16