Notification in JellyBean - add action isn't work

view story

http://stackoverflow.com – Need some help with building an Jelly Bean notification with custom button (using addAction). The problem is, that i cannot just make it working. Basically, i want to build notification with following parameters: on notification click it must bring one of my activities up, on button click - play-pause player, which is running, when notification is shown. My code is: Receiver: private BroadcastReceiver onNotification = new BroadcastReceiver() { @Override public void onReceive(Context context, Intent intent) { Log.d("NOTIFICATION", "Received broadcast"); Bundle extras (HowTos)