How to set Reminder notification on Android? -
I want to show a reminder on the date and time of the notification on Android's notification bar from my application. But it should also have a population without application. Whenever my Android device will boot up and at any time, without the time / selection of my application, the information will be displayed in the specified time as alarm. Please help me do this ..
Let me get some links about alarm manager, notification manager, give me ideas and some links otherwise sample snippets.
Use it to add an alarm
intent to intent = New intent (this, TheServiceYouWantToStart.class); Pending pending pending = pending IT service (this, 0, intent, 0); AlarmManager Alarm = (AlarmManager) this.getSystemService (Context.ALARM_SERVICE); Alarm.set (alarm manager. Rtc_wekup, time-block_avack, pending);
Comments
Post a Comment