开发者社区> 问答> 正文

有关安卓开发中的notification问题

notification不能用,
notification.setLatestEventInfo(context, "手机卫士", "保护中", pendingIntent);
代码中的setlatestEventinfo出错

展开
收起
爵霸 2016-03-10 09:50:14 1831 0
1 条回答
写回答
取消 提交回答
  • 你可以使用

    `
    NotificationCompat
    `

    类来写。

    2019-07-17 18:56:52
    赞同 展开评论 打赏
问答分类:
问答标签:
问答地址:
相关产品:
问答排行榜
最热
最新

相关电子书

更多
58同城Android客户端Walle框架演进与实践之路 立即下载
Android组件化实现 立即下载
蚂蚁聚宝Android秒级编译——Freeline 立即下载