android - 在 Android 中推送通知?

标签 android notifications push

是否可以在 Android 中创建推送通知?我真正想要的是,每当我有话要对我的应用程序的用户说时,我希望“仅”在我有话要说时弹出一些警报对话框,例如“新更新现已上市,请更新您的应用”。有人可以指导我吗?

最佳答案

Android Cloud to Device Messaging framework (C2DM)。它需要 Android 2.2 或更高版本。如果您需要适用于以前版本的东西,Urban Airship有可能适合您需要的东西。这两个我都没有用过,所以我不能说它们是否好用。

编辑:

Important: C2DM has been officially deprecated as of June 26, 2012. This means that C2DM has stopped accepting new users and quota requests. No new features will be added to C2DM. However, apps using C2DM will continue to work. Existing C2DM developers are encouraged to migrate to the new version of C2DM, called Google Cloud Messaging for Android (GCM).

关于android - 在 Android 中推送通知?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5910600/

相关文章:

使用Android SDK工具后Android图标比其他图标小很多?

android - FrameLayout 与 NestedScrollView 的高度不匹配

Android:如果最初的 Activity 不是从启动器启动的,则通知开始新 Activity 而不是恢复旧 Activity

html - Facebook 通知如何在 Android 手机的 Google Chrome 上运行

swift - 每当我的应用程序收到推送通知时,它都会从最后一个徽章编号(不是 0)开始递增

Git 卡在增量对象上

iphone - 将邮件从 postfix 推送到 iPhone

android - 堆损坏 - Android native 代码中的 SEGV_MAPERR

android - 由于 Theme.Translucent 的 Activity 娱乐

javascript - 在 Firefox 中连续使用 Notifications API 的多个通知