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

1179 questions
-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
  • 580
  • 6
  • 19
-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
  • 717
  • 1
  • 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
  • 3,243
  • 13
  • 56
  • 93
-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
  • 509
  • 2
  • 8
  • 23
-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,978
  • 1
  • 17
  • 28
-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
  • 2,115
  • 5
  • 31
  • 50
-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
  • 10
  • 28
-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
  • 681
  • 9
  • 27
-1
votes
2 answers

Open Activity from Android Alarmmanager

i've found these Toturials for an Alarmmanager: http://michael.theirwinfamily.net/articles/android/android-creating-alarm-alarmmanager It's one that is not using Broadcast. But it is not saying what I should put into my Manifest-File thus an…
user1508609
  • 71
  • 10
-1
votes
1 answer

how make service start once android app turn on?

i need to do something at the background but i need this service alive once the app turn on although , i need to do at background always even the phone at sleep mode ?? i try to do service but this service after the phone go to sleep mode the…
Hanaa
  • 87
  • 1
  • 2
  • 10
-1
votes
1 answer

Creating my own alarmclock Activity

im trying to create an alarm clock application which do a spesific actions once the alarm goes off and im running into some troubles: first, i was playing around with the AlarmClock() class, which has few values i can set-up Intent i = new…
Totem
  • 1,030
  • 7
  • 16