broadcast intent callback: result=CANCELLED forIntent

后端 未结 2 2007
野性不改
野性不改 2021-01-19 07:36

I have a mobile app, that registers to a c2dm server.

I have a server that sends a message to my app, to push a notification. The server receives ok result code from

相关标签:
2条回答
  • 2021-01-19 08:10

    According to this forum post the situation arises in Android 3.1+ when the receiving app is in stopped state on the device (for example by using force stop from the settings). It will only start to receive messages again when it is manually started.

    See also this post

    0 讨论(0)
  • 2021-01-19 08:22

    Finally i have found where was the problem. When i was creating the notification, in the place of logo id, i have put 0. Now all it's working.

    0 讨论(0)
提交回复
热议问题