Questions tagged [android-alarms]

Android alarms is the facility provided by Android through AlarmManager to start an intent at a given time (by passing a pending intent).

Android alarms is the facility provided by Android through AlarmManager to start an intent at a given time (by passing a PendingIntent) which can be used to start an activity or a service or send a broadcast.

AlarmManager Class Reference

1165 questions
-1
votes
1 answer

Android Multiple Alarm

can any one help me in creating multiple alarms .If any one has example of this.Please send me because I am new to android.If any one has example in working form on multiple alarm, please send me.
-1
votes
1 answer

android alarm doesn't work if i press back button

I have implemented an Alarm manager and receiver in my application, all is working perfectly. The issue I am having is when I press the back button to close the application, the alarm doesn't run at the time specified. Below is the code I am…
Phil Andrews
  • 399
  • 2
  • 22
-1
votes
1 answer

AlarmManager not scheduling task at given time

I am trying to do some task at some specific time inserted by user. I have two classes. 1. AddTiminigs 2. TimeReceiver In OnCreate of "AddTimings, I m doing something like this: manager =…
Ali Ansari
  • 221
  • 3
  • 13
-1
votes
1 answer

alarm is automatic running after reboot even alarm is not set android

Hi I am developing an application in Android which playing Alarm. It can reset alarm after reboot phone . But there is a problem that, it is running alarm even if alarm is not set at all. Please help me.
Balvinder Singh
  • 562
  • 6
  • 18
-1
votes
1 answer

Is it possible to change or delete an alarm set by the user in the stock Android clock app?

The API documentation for AlarmManager shows a cancel() method but requires you to pass in the PendingIntent fired by your application. However, is there a way (either using AlarmManager or something else) to delete alarms set by other applications…
Bill Mei
  • 601
  • 10
  • 22
-1
votes
1 answer

How to schedule alarm in android......?

I want to schedule an alarm according to the desired days. E.g. sunday,tuesday,thursday. I have scheduled it according to time but not able to do as week days. Below is code: private void StartScheduler(Context context) { Calendar startTimmer =…
-1
votes
2 answers

Display an alert dialog box after a custom alarm rings

Background My application populates a list view containing list of specific times. When the user selects a specific item in the list view, the alarm is scheduled/triggered for that timing. Now I can achieve to create a notification when the alarm…
-1
votes
2 answers

Setting alarms daily android

I want to make my application set alarms every day at lets say 7 am a list of pills for the user. So far I have been doing it when a user adds a new pill, I will set the alarm directly, but I want to make it set alarms for today only. I am able to…
hakuna matata
  • 2,831
  • 11
  • 46
  • 85
-1
votes
2 answers

I need to trigger a notification each day on different times

I have two times and each day these times are different from the previous day for example reminder1-day1: 5:30 reminder1-day2: 5:35 I'm getting the time from the internet with json objects... what I need is to trigger a notification when the…
User
  • 489
  • 2
  • 7
  • 22
-1
votes
1 answer

alarm notification not functioning

i want to set alarm based on user input and display notification.. i don't know what is wrong because my alarm not functioning. below is my code: this is where my alarm is set public class AppointmentAdd extends Activity{ private SQLiteDatabase…
new
  • 77
  • 2
  • 16
-1
votes
1 answer

What changes are to be made in the AndroidManifest if I have many Activities in same package?

Im using alarm intent to set an alarm Code : Intent i = new Intent(AlarmClock.ACTION_SET_ALARM); i.putExtra(AlarmClock.EXTRA_MESSAGE, meet); i.putExtra(AlarmClock.EXTRA_HOUR, hour); …
Metalhead1247
  • 1,933
  • 1
  • 15
  • 27
-1
votes
1 answer

Android: Help in Activating SMS via Repeating Alarm

In this app, I'm inserting set of values in EditText a) 3 b) 5554 c) iOS When you click 'Send Alarm' it will send SMS for every 1 minute. Now i Cancelled Alarm and again I'm starting this app inserting NEW VALUES as follows: a) 3 b) 12345 c)…
DroidLearner
  • 1,977
  • 5
  • 27
  • 46
-1
votes
1 answer

Is it possibile to run 2 different alarm with 2 different repeat values in a same application.in android?

Im developing a mobile application using Android 2.3 Here i want to capture the gps location and send the location co-ordinates (If it captured otherwise send 0) to web app with the one hour time gap. The gps capturing is time and battery…
-1
votes
1 answer

Is it possible to have a AlarmManager inside a Service class?

For example my app, it starts and runs the service(which is meant to check the database for new messages) but as far as I know you can have a AlarmManager to keep opening the Service if so is not opened. But can you have aAlarmManager inside the…
baTimá
  • 554
  • 1
  • 9
  • 27
-1
votes
1 answer

Reminding a user by using a particular date and time in any of the screen in my application

In Android 4.0.x we can use CalendarView. Using that functionality, I need to develop a reminder task. By clicking the particular date, I need to pop-up the TimePicker and after selection of the specific time, the date and time needs to be stored…
gowri
  • 661
  • 9
  • 27