简体   繁体   English

我想向我的android应用程序的用户发送一个简单的日常提醒,我是否必须使用推送通知服务,还是有其他选择?

[英]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.

相关问题 要在 android 中使用推送通知,我是否必须加入开发者计划? - To use push notification in android, do I have to join developer program? 我想在quickblox cating应用程序中发送推送通知 - I want to send push notification in quickblox catting application Android:我的应用程序中有一个表格。 我是否使用普通线程或服务上载表单信息 - Android: I have a form in my application. Do I use normal thread or service to upload form information 我想从我的PHP应用程序向我的android应用程序发送通知 - I want to send a notification from my PHP application to my android app 我希望我的Android应用程序有一个简单的表单,可以发送信息到我的Gmail - I want my android app to have a simple form that can send information to my gmail 我需要在我的android应用中实现Notification Reminder - I need to implement Notification Reminder in my android app 我如何在我的应用程序中使用推送通知? - how I can use push notification in my application? 我想在Android中实现推送通知 - I want to implement Push Notification in Android 我想通过firebase推送通知发送特定链接内部通知,该怎么做? - I want to send specific link inside notifications send through firebase push notification,how to do it? 我需要帮助以在简单的android应用中添加新服务 - I want help in adding a new service in my simple android app
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM