---
title: "Alarmmanager fire on every time in android"  
description: "Alarmmanager fire on every time in android"  
author: "Anonymous User"  
published: 2014-11-07  
updated: 2014-11-07  
canonical: https://www.mindstick.com/forum/2537/alarmmanager-fire-on-every-time-in-android  
category: "android"  
tags: ["java"]  
reading_time: 1 minute  

---

# Alarmmanager fire on every time in android

Alarmmanager [fire](https://yourviews.mindstick.com/view/81364/assam-oil-well-fire-accident-why-we-are-prone-to-it) on every time in [android](https://www.mindstick.com/articles/13046/10-reasons-why-i-prefer-android-vs-iphone-ios)

Like [@mighter](http://stackoverflow.com/users/468311/mighter) said, [API](https://www.mindstick.com/articles/12641/instagram-api-upgraded-to-facebook-graph) >= 19 if you [must](https://www.mindstick.com/articles/12978/top-reasons-why-every-magento-ecommerce-store-must-opt-for-mobile-app) use exact [timing](https://answers.mindstick.com/qa/97195/what-is-trcd-timing), use the setExact() API.

```
if(android.os.Build.VERSION.SDK_INT < 19) {
    alarmManager.setRepeating(AlarmManager.RTC, utcMillisNextMin(), 60000, createClockTickIntent(_context));
} else {
    alarmManager.setExact(...);
}
```

## Replies

### Reply by Tom Cruser

if you must use exact timing, use the setExact() API.\

```
if(android.os.Build.VERSION.SDK_INT < 19) {    alarmManager.setRepeating(AlarmManager.RTC, utcMillisNextMin(), 60000, createClockTickIntent(_context));} else {    alarmManager.setExact(...);}
```


---

Original Source: https://www.mindstick.com/forum/2537/alarmmanager-fire-on-every-time-in-android

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
