[英]I want to send users of my android application a simple daily reminder, Do I have to use a push notification service or is there an alternative?
To be a little bit more specific, I want to know if for example I wanted to teach someone how to take care of a pet, I would like my application to send them daily a reminder that they have to feed their pet or take it out for a walk. 更具体一点,我想知道例如我是否想教某人如何照顾宠物,我希望我的应用程序每天向他们发送提醒,提醒他们必须养宠物或将其取出散步。 I have been reading about GCM and what i managed to understand is that you would need a server side to manage these, but that is not a resource available to me (and even if it were I would have no idea how to set it up). 我一直在阅读有关GCM的文章,我设法理解的是,您将需要服务器端来管理这些内容,但这对我来说并不是可用的资源(即使是这样,我也不知道如何设置它) 。 Would I have to set up GCM for this or is there another way to do this? 我是否需要为此设置GCM或还有另一种方法来做到这一点?
You could use the AlarmManager : http://developer.android.com/reference/android/app/AlarmManager.html 您可以使用AlarmManager: http : //developer.android.com/reference/android/app/AlarmManager.html
It enables you to do something at a certain point in the future. 它使您可以在将来的某个时候做某事。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.