Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AlarmReceiver时钟提醒延时 #20

Open
wuyisheng opened this issue Mar 30, 2015 · 2 comments
Open

AlarmReceiver时钟提醒延时 #20

wuyisheng opened this issue Mar 30, 2015 · 2 comments

Comments

@wuyisheng
Copy link

net.micode.notes.ui.AlarmReceiver
安装完,第一次设置时钟是准的,第二次有一点偏差,第三次开始就是延时5分钟,从此之后定时提醒不准

@pihunwang
Copy link

恩,代码貌似是有点问题,是帮学校一个搞ACM写的,后续没没有跟进。

@heweiwei
Copy link

这里alarm不是精确的
alarmManager.set(AlarmManager.RTC_WAKEUP, alertDate, pendingIntent);
现在很多厂商都有做alarm对齐的优化。
alarmManager.setExact 改用这个试试会不会更好一点。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants