如何重命名或移动GCMIntentService [英] How to rename or move GCMIntentService

查看:127
本文介绍了如何重命名或移动GCMIntentService的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想放GCMIntentService比我的包根以外的目录。

借助 GCM文档指出


 默认情况下,它必须被命名为.GCMIntentService,除非
      应用程序使用了重新定义它的名字自定义的广播接收器。


我的问题是 - 我怎么创造这个定制的BroadcastReceiver禅师谈


解决方案

试试这个 - 的重命名或GCMIntentService类的变化包

I would like to put the GCMIntentService in a directory other than my package root.

The GCM documentation states that

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

My question is - how do I create this "custom BroadcastReceiver" thay talk about?

解决方案

Try this -- Rename or change package of GCMIntentService class

这篇关于如何重命名或移动GCMIntentService的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆