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
-2
votes
1 answer

context cannot be resolved to a variable - following 5 day alarm example

I'm attempting to set a reoccurring alarm example using code taken from the following SO example: Implementing an alarm every 5 days, code correct? However I'm getting an error stating "context cannot be resolved to a variable" on the…
Amani Swann
  • 37
  • 4
  • 10
-3
votes
1 answer

android alarm clock app crashes

I am trying to make simple alarm app using android studio...I think my code is correct although it crashes.I think the problem is with alarm receiver and service class....i have use if-else to specify if alarm is on and ringtone is…
-3
votes
1 answer

How to display the album art for a particular song?

I'm creating a music player and now I am stuck on displaying the album art for particular songs. Please help me.
-3
votes
3 answers

How to set multiple Alarms at different times in Android Programatically?

I tried to create multiple alarms at different times in Android. And I googled for it. But I can't understand how can we create? Can anybody share? I want to create alaram at 8am, 1pm, 7pm. So, how can I create like this. Please help me.
Siva Polam
  • 87
  • 1
  • 12
-3
votes
1 answer

How to set a background on an alarm clock app

In an Android alarm clock app that I want to develop, I want to allow people to have a custom image as the app's background when it goes off, rather than having the device's stock background, but I don't know how to go about it. It might actually be…
SkintMedia
  • 33
  • 1
  • 5
-4
votes
2 answers

Android: Starting Alarm Service from Dialog

I'm trying to start a 1 minute alarm from a dialog box. This is my dialog method (with AlarmManager and everything): public void Dialog2(){ new AlertDialog.Builder(context) .setTitle("Email!") .setMessage("Would You…
-4
votes
2 answers

What will alarm manager do if I change phone's time?

I set multiple alarms and in order to control them I change my phone's time. They will work normally ? What In other words, will alarms collapse if I change my phone's time?
-4
votes
1 answer

Android alarm screen override

Is it possible to override the standard alarm screen of android? The standard alarm screen I mean is the one which is fired when your alarm goes off. I want to give it a white background for example. If it is not possible, is it somehow possible to…
T. Honcoop
  • 11
  • 3
-4
votes
1 answer

AlarmManager with ContentObserver

How can we set an AlarmManager, for a ContentObserver class in PendingIntent? Possible methods are : PendingIntent.getActivity PendingIntent.getService PendingIntent.getBroadCast So, which one to use if it is at all possible?
Nikita
  • 189
  • 1
  • 4
  • 16
1 2 3
78
79