Registration confusion Android GCM

后端 未结 5 1032
忘掉有多难
忘掉有多难 2021-01-02 07:10

I am trying to migrate to GCM in Android, C2DM now being deprecated. The registration process described here is different from registration describ

5条回答
  •  半阙折子戏
    2021-01-02 07:22

    They are actually the same thing. The second one encapsulates the first one in a static method and registers a broadcast receiver. You can attach the source to the gcm.jar and see for yourself. You can find source code in ~/android-sdks/extras/google/gcm/gcm-client/gcm-src.jar

提交回复
热议问题