开发者社区 问答 正文

有关安卓开发中的notification问题

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

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

    `
    NotificationCompat
    `

    类来写。

    2019-07-17 18:56:52
    赞同 展开评论