Android如何在没有打开应用的情况下从通知栏恢复和暂停音频?

时间:2015-08-31 12:27:00

标签: android notifications

我想在通知栏的后台实现恢复和暂停功能。在我的代码中,我使用从服务器下载的url中的无线电播放。然后在后台播放音频。但我想添加功能来播放和暂停功能,而无需打开应用程序。谢谢。

1 个答案:

答案 0 :(得分:0)

已经问过:

Handling buttons inside android notifications

Adding onClick Action To Button In Notification

没有足够的声誉将这些链接添加为评论