Android中有任何本地通知吗?

编程入门 行业动态 更新时间:2024-10-28 14:22:09
本文介绍了Android中有任何本地通知吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

在我的应用程序中,我想使用本地通知. 我不知道Android是否提供任何本地通知.

In my application I want to use the Local Notification. I don't know is there any local notification available in Android or not.

如果是,请给我任何示例示例来实现它.

If yes then please give me any sample example to implement it.

谢谢.

推荐答案

Android在远程(Apple推送)和本地通知之间并没有真正的区别.使用Android的C2DM,您不会完全免费弹出框或任何UI.

Android doesn't really have a distinction between remote (push in Apple terms) and local notifications. You don't get a box pop up or any UI at all for free with Android's C2DM.

我认为您只想看看:

  • developer.android/guide/topics/ui/notifiers/notifications.html
  • developer.android/guide/topics/ui/notifiers/toasts.html
  • developer.android/guide/topics/ui/notifiers/notifications.html
  • developer.android/guide/topics/ui/notifiers/toasts.html

要在特定时间做某事,您需要查看:

For doing something at a certain time you want to look at:

  • developer.android/reference/android/app/AlarmManager.html

更多推荐

Android中有任何本地通知吗?

本文发布于:2023-10-23 04:16:52,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1519752.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:中有   通知   Android

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!