android - 如何重命名或移动 GCMIntentService

标签 android push-notification google-cloud-messaging

我想将 GCMIntentService 放在包根目录以外的目录中。

GCM documentation指出

      By default, it must be named .GCMIntentService, unless the
      application uses a custom BroadcastReceiver that redefines its name.

我的问题是 - 如何创建这个“自定义 BroadcastReceiver”?

最佳答案

关于android - 如何重命名或移动 GCMIntentService,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13360219/

相关文章:

android - 是否可以使用 GCM 在不同应用程序之间发送推送通知?

android - 禁用 GCM 推送通知

android - 如何管理 GridView

android - ViewPager 具有不同的纵向和横向适配器

iOS 推送通知不适用于开发证书

javascript - PushWoosh notificationCallback 未触发

azure - 从 Xamarin Forms 页面上的 Azure 推送通知获取数据

javascript - 通过iron-ajax(聚合物)通知

asp.net - Android C2DM 获取 (401) 未经授权

android - 只有在 onCreate 中设置了适配器和 RecyclerView,才会填充 Fragment 内部的 RecyclerView