Notification from a service

前端 未结 2 1028
长发绾君心
长发绾君心 2021-01-22 19:10

I\'m trying to display a simple notification when a C2DM message is received. Services provide to UI but still run on the main thread. I\'ve seen people claim you can create and

2条回答
  •  情歌与酒
    2021-01-22 19:21

    You should read the Notification documentation. Content View is required if you don't called the setLatestEventInfo() method.

提交回复
热议问题