简体   繁体   English

在屏幕上生成通知

[英]generate notifications on screen

I wanted to ask a question you have to see if I can help. 我想问一个问题,你必须看看我能不能帮上忙。 I've started working on a (Android) application that should display a message on the android device. 我已经开始在(Android)应用程序上工作,该应用程序应在android设备上显示一条消息。 This message should be Push notification type, as would be when we get a whatsapp, with the only difference that this message does not come out, but will be a sort of alarm, since the user will mark what time to leave this notice. 该消息应为Push通知类型,就像我们得到whatsapp时一样,唯一的区别是该消息不会发出,而是一种警报,因为用户将标记离开该通知的时间。 And want to know what kind of message should work, and if it's with Push notifications, if they know of any conditions or any manual tutorial, because I've seen so far the only thing that has made ​​me lose more. 并且想知道哪种消息应该工作,是否与Push通知一起使用,是否知道任何条件或任何手动教程,因为到目前为止我已经知道使我失去更多的唯一原因。 Thank you. 谢谢。

I think you don't need Push Notification but AlarmManger and NotificationManager samples. 我认为您不需要推送通知,但需要Al​​armManger和NotificationManager示例。

http://androidideasblog.blogspot.co.uk/2011/07/alarmmanager-and-notificationmanager.html http://androidideasblog.blogspot.co.uk/2011/07/alarmmanager-and-notificationmanager.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM