我想将gcminentservice放在包根目录以外的目录中。
GCM documentation表示

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

我的问题是-我该如何创建他们所说的“自定义广播接收器”?

最佳答案

试试这个--Rename or change package of GCMIntentService class

10-08 00:35