无需打开该应用机器人动作通知机器人、动作、通知

由网友(諾)分享简介:我想实现JB通知操作。但它不应该打开的应用程序。该行为类似于Gmail的应用服务中删除通知操作。我怎样才能做到这一点?I want to implement a notification action in JB. But it shouldn't open the app. The behaviour is sim...

我想实现JB通知操作。但它不应该打开的应用程序。该行为类似于Gmail的应用服务中删除通知操作。我怎样才能做到这一点?

I want to implement a notification action in JB. But it shouldn't open the app. The behaviour is similar to the Gmail apps delete notification action. How can I do this?

在此先感谢, Shashika

Thanks in advance, Shashika

推荐答案

经过一番研究,我设法用广播接收器来实现这一点。我张贴的例子code在这里。 http://shashikawlp.word$p$pss.com/2013/05/08/android-jelly-bean-notifications-with-actions/

After some research I managed to achieve this using a broadcast receiver. I posted the example code here. http://shashikawlp.wordpress.com/2013/05/08/android-jelly-bean-notifications-with-actions/

阅读全文

相关推荐

最新文章