android - Google Cloud Messaging no push notification receive to my device -


I've followed everything "" I've successfully registered my emulator [5554], but coming from my local server No information can be obtained, what did I miss in the tutorial? I used the vector as my back-end database.

Use:

  & lt; Use-SDK Android: minSdkVersion = "8" Android: targetSdkVersion = "16" />  

My emulator:

  google APIs 19  

Please help.

In many cases it may be. You must debug your application

  1. Send push notification
  2. Go to Eclipse and click on Logcat .
  3. Then go to " Verbose ".
  4. Then send a message to a device from your server using GCM.
  5. Then, go to that quick logkit screen.
  6. Now the Verbose screen will grow faster, copy all the text and paste it into Notepad.
  7. Here you can see whether the weather broadcast receiver has been implemented successfully or not. Receives Broad Broadcast Announcements of the Broadcast Receiver System On the arrival of the GCM message, the Android OS has announced that it has received a message from the server. Therefore, the receiver of your app receives the message and sends that information to your application.

If GCM message arrives on device but there is a mistake in the broadcast receiver, then you will see the error below. Reference:. Tutorial

  12-27 22: 55: 58.691: D / status bar - SignalClusterView (450): mSeparateMobileGroup = 8 12-27 22: 55: 59.691: D / Status Bar - NetworkController (450 ): RefreshSignalCluster: data = -1 bt = false 12-27 22: 55: 59.691: D / status bar - SignalClusterView (450): mSeparateMobileGroup = 8 12-27 22: 55: 59.699: D / status bar - SignalClusterView (450 ): MSeparateMobileGroup = 8 12-27 22: 55: 59.699: D / Status Bar - SignalClusterView (450): mSeparateMobileGroup = 8 12-27 22: 55: 59.808: W / AlarmManager (357): FACTORY_ON = 0 12-27 22 : 55: 59.863: W / GTalkService (22,378): [DataMsgMgr] Intent callback transmission: result = canceled forIntent {task = com.google.android.c2dm.intent.RECEIVE pkg = com.techlovejump.gcm (additional 12-27 22: 55: 59.863: W / GTalkService (22,378): Receiver package not found, unregistered application com.techlovejump.gcm this 538,861,816,112 12-27 22: 55: 59.886: W / GCM (22,378): DIR : / Data / data / com.google.android.g MS / APP_APP / data / data / com And Android GSF 12-27 22: 55: 59.9 9 6: V / Alarm Manager (357): Wait for alarm results: 8 12-27 22: 55: 59.9 9 6: V / alarm manager (357): ClockReceiver onReceive ( ) ACTION_TIME_TICK 12-27 22: 55: 59.996: W / AlarmManager (357): FACTORY_ON = 0 12-27 22: 56: 00.003: D / Status Bar-Clock (450): onReceive () - ACTION_TIME_TICK  

If you do not see any logs in the GCM message in Verbose then the message from GCM is not received on your device. There is a problem in registering a device on GCM or sending a message from the server.


Comments

Popular posts from this blog

java - Can't add JTree to JPanel of a JInternalFrame -

javascript - data.match(var) not working it seems -

javascript - How can I pause a jQuery .each() loop, while waiting for user input? -