Top "Alarmmanager" questions

Android class providing access to the system alarm services.

Alarm Manager Example

I want to implement a schedule function in my project. So I Googled for an Alarm manager program but I …

java android kotlin alarmmanager
Calling startActivity() from outside of an Activity?

I'm using an AlarmManager to trigger an intent that broadcasts a signal. The following is my code: AlarmManager mgr = (AlarmManager) …

android alarmmanager android-pendingintent runtimeexception
How to check if AlarmManager already has an alarm set?

When my app starts, I want it to check if a particular alarm (registered via AlarmManager) is already set and …

android alarmmanager
Android: keeping a background service alive (preventing process death)

I have a service that is defined as: public class SleepAccelerometerService extends Service implements SensorEventListener Essentially, I am making an …

android service process alarmmanager
Using Alarmmanager to start a service at specific time

I have searched a lot of places but couldnt find a clean sequential explanation of how to start a service (…

android service alarm alarmmanager
Android: How to use AlarmManager

I need to trigger a block of code after 20 minutes from the AlarmManager being set. Can someone show me sample …

java android alarmmanager android-alarms android-1.5-cupcake
How to run activity in background in Android

In my application, I need to send the text message to the user after a certain interval. For that I …

android android-activity alarmmanager
Android: Get all PendingIntents set with AlarmManager

I'm setting an alarm like this: alarmManager.set(AlarmManager.RTC_WAKEUP, alarmTime, pendingEvent); I'm interested in removing all the alarms …

android alarmmanager
How to set multiple alarms using alarm manager in android

I'm building an alarm application. I have successfully implemented basic alarm functions. Calendar calendar = Calendar.getInstance(); calendar.set(calendar.HOUR_…

android alarmmanager
Android AlarmManager - RTC_WAKEUP vs ELAPSED_REALTIME_WAKEUP

Can someone explain to me the difference between AlarmManager.RTC_WAKEUP and AlarmManager.ELAPSED_REALTIME_WAKEUP? I have read the …

android alarmmanager