I use the code:
AlarmManager alarmManager = (AlarmManager) context
.getSystemService(Context.ALARM_SERVICE);
alarmManager.setInexactRepeating(AlarmManager.ELAPSED_REALTIME_WAKEUP,
0, 60000, alarmIntent);
How long will the phone to stay awake after the timer?
0 comments:
Post a Comment