答案 0 :(得分:1)
我真的不明白你的问题,但用更简单的术语来说......这是在android中创建通知的代码:
Notification notifica = new Notification();
notifica.flags |= Notification.FLAG_AUTO_CANCEL;
notifica.icon = R.drawable.serie_notification;
notifica.when = System.currentTimeMillis();
要禁用声音,你必须添加:
notifica.defaults = 0;