ドキュメンテーションでは、Google Cloud Messaging の Android 部分の作成について、2 つの異なるオプションが説明されています。
-using com.google.android.gcm.GCMRegistrar、com.google.android.gcm.GCMBroadcastReceiverおよびhttp://developer.android.com/google/gcm/gs.html#android-appcom.google.android.gcm.GCMBaseIntentServiceで
- http://developer.android.com/google/gcm/gcm.html#writing_appsでハンドラーを使用android.content.BroadcastReceiverおよびandroid.app.IntentService+ 書き込みます。
これは紛らわしいです。おすすめの方法は?