android-alarms Questions

2

Solved

I'm trying to develop a kind of reminders system, so user can enter days for reminders (MON, TUE...) and times on which this reminder will fire (only hour and minutes). It can be any day of the wee...
Fechter asked 19/5, 2015 at 18:47

3

Solved

So basically I have this code, time returns 24hour time and repeats the alarm daily. public setAlarm(String time, Context context){ String[] strTime; strTime = time.split(":"); int hour, min,...
Germanophobe asked 15/7, 2013 at 3:14

2

Solved

Recently encountered with a problem when Android 4.4 killed my app's Service and AlarmManager when device going into a sleep mode (START_STICKY param doesn't helps). I tried a lot of things, but no...

2

Solved

I used this code to wake up my device (Moto G 1 gen) when screen is off, but it seems that it doesn't work. It works only when screen is on. edit: Now it works, but CallScreen.class shows for 1 se...
Undecided asked 12/4, 2015 at 15:35

1

Solved

This is a Lollipop-specific question, since the API has changed. To find out how to do this on earlier versions, see related question: Controlling the Alarm icon in status bar I would like to...

2

Solved

In Android Alarm Manager, how can we schedule multiple alarms which are non-repeating and do not have fixed intervals to repeat? I cannot use 'setRepeating' function as the alarms don't have any re...
Accrete asked 11/7, 2011 at 11:27

4

Solved

I have a scenario Setting alarm for (Monday to Friday) Let say I choose time that is: hour = 9, minutes = 15, am_pm = "AM". Now I want to set Alarm for every Monday to Friday at 9:15 AM Code be...
Larghetto asked 11/11, 2014 at 7:46

1

Solved

Right now, I am setting alarms like this: AlarmManager manager = (AlarmManager) getSystemService(Context.ALARM_SERVICE); Intent intent = new Intent(context, AlarmReceiver.class); PendingIntent...
Roseliaroselin asked 16/11, 2014 at 16:52

1

Solved

There is this new AlarmManager.setAlarmClock(...) method in API 21, which sets a new alarm and displays a status bar alarm icon. I use it like this: AlarmManager am = (AlarmManager) context.getSy...
Porism asked 17/10, 2014 at 22:53

3

Solved

In my app the user joins a plan, then the next day at noon there is an alarm notification. Here is my code: First, I set an alarm in AlarmManager like so: //set alarm to the next day 12:00 noon ...
Judicious asked 10/10, 2014 at 9:34

1

Solved

I am trying to display a window picker dialog in android with the default selection to be instead of "None" how it is currently, to be selected the default phone's alarm/ringtone. Here is the code...
Almonte asked 11/9, 2014 at 7:5

1

Solved

I searched with many terms and sentencing but could not find any information on this whatsoever. So anyways: How can I get default or currently set music/tone/sound for Alarm (Default app) ? Say ...
Isabea asked 15/7, 2014 at 19:38

1

Solved

This question relates to Android versions pre-Lollipop. For Lollipop API, check related question: Lollipop API for controlling the Alarm icon in status bar I would like to know how to turn on...
Moneychanger asked 16/4, 2014 at 9:18

0

1) Sample was used for repeating alarm. 2) setInexactRepeating(60000,60000), first one expires happens at 20 to 30 secs, rest ones expires in time i.e 60secs. 3) setInexactRepeating(1000 * 60 * 2...
Laurin asked 3/4, 2014 at 21:35

4

I am using AlarmManager in my application to set alarm for a particular time. I have used AlarmManager.RTC_WAKEUP to set the alarm. When I am testing the same it's working on number of device like ...
Tilla asked 7/3, 2014 at 9:26

5

Solved

I would like to know if there is a way (probably a system broadcast) to know that the alarm clock default application is now start ringing. if not - I'll be satisfied also if I could get progremat...
Sloatman asked 4/2, 2014 at 12:56

2

I am working on an Alarm Clock project and i want to edit my already set Alarm. when I edit alarm then alarm time is updated but values that I send by using putExtra() are not changing. I am using ...
Vengeance asked 27/12, 2010 at 12:53

1

We have a few repeating alarms setup and they work normally most of the time. Sometimes though they get stuck (probably canceled somehow). How to debug it to make sure an alarm is actually off when...
Neuritis asked 19/11, 2013 at 14:32

2

Solved

In Android 4.4 APIs page I read: When you set your app's targetSdkVersion to "19" or higher, alarms that you create using either set() or setRepeating() will be inexact. [CUT] This inexac...
Balladeer asked 7/11, 2013 at 16:38

4

Here i am going to use the alarm service to play the alarm at every 30 minutes. Right now i have set it to play it at every 10 second from the Every start. Here is the Code: @Override public void...
Esbjerg asked 6/4, 2012 at 5:38

1

I am trying to create a notification at a particular time. Im creating a broadcast receiver and calling it through the AlarmManager. Problem is that the broadcast is not received and that I am not ...

2

I am trying to develop alarm functionality in a my app which runs on a week days specified by user on fixed time. Problem here is that my scheduler running for all days instead of running on specif...
Cowgirl asked 26/4, 2013 at 13:13

3

I dont want to permanently bypass keyguard, just for that moment .For example when a alarm is raised (eg wake up alarm) i can dismiss /snooze it whithout unlocking screen .I want to achive the same...
Reflex asked 25/7, 2013 at 18:51

1

Solved

Hi I want my application to run at specific time daily. for this I am using below code. But it runs only for one time. Whats the mistake here how can i achieve this task. AlarmManager alarmMgr0 =...
Chavey asked 26/7, 2013 at 15:20

3

Solved

In my app I want to run some code every day at a specific time using an AlarmManager. In the android documentation I found this: Registered alarms are retained while the device is asleep [...] b...
Iliac asked 16/7, 2013 at 10:9

© 2022 - 2024 — McMap. All rights reserved.