【发布时间】:2015-02-19 11:38:41
【问题描述】:
我正在 Android 中编写通知服务,目前正在读取和关闭来自此通知服务的所有通知。
Bundle extras = mNotification.extras;
title = extras.getString(Notification.EXTRA_TITLE);
notificationLargeIcon = (Bitmap) extras
.getParcelable(Notification.EXTRA_LARGE_ICON);
smallContents = extras
.getCharSequence(Notification.EXTRA_TEXT);
为了回复通知,有没有办法触发“回复”操作?我可以访问通知操作,但我不确定如何从通知服务中触发操作。
Notification.Action[] actions = mNotification.actions;
【问题讨论】:
标签: android android-intent notifications android-notifications