3

I'm trying to add buttons to my own custom notification.

However, RemoteViews' setOnClickPendingIntent() is not working.

I saw PowerAMP has similar functions, which is just what I want.

enter image description here

Does anybody know how PowerAMP achieves this?

pb2q
  • 58,613
  • 19
  • 146
  • 147
user538565
  • 513
  • 1
  • 6
  • 21
  • 1
    what is the error.. show some code and the error logs... – Praful Bhatnagar Nov 24 '12 at 08:04
  • I followed this page: http://stackoverflow.com/questions/8711966/android-4-0-custom-notification-like-google-music but it did'nt work, my buttons didn't respond to my click... – user538565 Nov 24 '12 at 14:33
  • Make sure that the activities or receivers you're trying to trigger with your PendingIntents are published in AndroidManifest.xml. The SystemUI can't see inside your APK otherwise. – dsandler Dec 05 '12 at 04:23

0 Answers0