Remind event based on the date android -


i newbie android , , designing app reminds event , not aware of how started achieve .

i stored date month year of event in database , thing need is

run background service looks event occur

push notification based on time set user , days set 1 days before , 15 days before

please me how achieve this

use alarmmanager.

you can register pending intent triggered @ time, or periodically. can make pending intent trigger broadcast or service or notification, if remember correctly. check this or google notification / alarmmanager. way more power efficient run background service checks periodically if needs notify user.


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -