I am developing an android app and I want to send \"We Miss You\" notification to user if he/she is inactive for more than 3 days. This means if the user does not open our a
You could have something like:
When a user opens the app, you record it on a database on your website and have a cron job (or some other equivalent) to run everyday at say 3pm time and if the users last open date is over 3 days ago you send the notification.
OR
When a user opens the app, you record it on a sqlite database on your app and set an alarm manager for 3 days time. Each time the app is open the alarm is reset. After the 3 days is up you create a notification.