如何在Android通知中添加按钮?以及如何对其采取行动? [英] How to add button into the Android notification? and How to perform action on it?
本文介绍了如何在Android通知中添加按钮?以及如何对其采取行动?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在Android通知中添加按钮?以及如何对其采取行动?我在Google上多次搜索过这个问题,但没有得到任何满意的答案。如果有人知道那么请解释我。
How to add button into the Android notification? and How to perform action on it? I have searched many times this question on Google but didn't get any satisfied answer. If anybody knows then please explain me.
推荐答案
在设计器中添加一个按钮并将事件处理程序连接到它。 CodeProject Articles部分中有许多样本可以演示它。
You add a button in the designer and connect an event handler to it. There are many samples in the CodeProject Articles section that demonstrate it.
这篇关于如何在Android通知中添加按钮?以及如何对其采取行动?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文