android - How to set alarm or push notification -
i trying make reminder application on android. have taken data user , saved in database. how trigger alarm or push notification on user entered date?
to create push notification, have register on console api. can't post link , because of low reputation , own key. used tutorial create , handle push notification. http://www.androidhive.info/2012/10/android-push-notifications-using-google-cloud-messaging-gcm-php-and-mysql/ can't understand why need alarm user. implement alarm after elapsed time, can create service: http://developer.android.com/reference/android/app/service.html there can create own alarm or use 1 of standard. sorry, can't provide code example, because question general.
Comments
Post a Comment