MediaStyleNotification Extension [PAID]

MediaStyleNotification Extension v1 allows you to use Play and Pause actions from a Notification including from the Lock Screen is now available for purchase.
This Extension was Developed By Ken Nichols with Help from Andres Cotes, Thank You @Andres_Cotes!
I would like to thank my Beta Testers and last but not least I have to thank @Taifun for the BroadcastReceiver example! found here: https://puravidaapps.com/headset.php

The MediaStyleNotification wasn’t introduced until API21 Lollipop Android OS v5.0 and the ActionButton wasn’t introduced until API16 JellyBean Android OS v4.1.
For maximum compatibility, I created the 3 different styles of notifications listed below.

Lollipop v5.0 to Current(Oreo v8.1) MediaStyleNotification:







JellyBean v4.1 to KitKat v4.4 ActionButtonNotification:
7937aa33ca8bf5e96e088713e7d6d5d7ad959e3f


bc2fdd62d5a28a35b414586a8fe7d532d6b782ee

Pre-JellyBean Notification:
1d3f5f5392354a2e949ecd045b5475c17ebacd4b


99faaa5b631503df325d34062907e2de42220bd6

Blocks:

Usage:

Notification:




ActionButtonClick:



CancelNotification:



MoveTaskToBackground(Minimizes app):



SetLargeIcon:


Video:

Features:
PlayingNotification:
Is set to OnGoing and can’t be swiped away by the user.
Note: It must be removed by CancelNotification.

PausedNotification:
Isn’t set to OnGoing so it can be swiped away by the user.

Icon Setting:
Update:
I added the ability to display the apps Icon see pictures in post below…

This Extension uses android.R.drawable for the icon(smallIcon)
I recommend “android.R.drawable.ic_media_play” for PlayingNotification and
“android.R.drawable.ic_media_pause” for PausedNotification but you can use which icon you like.
see a full list of options here:Icons.txt (6.5 KB)




Colors:
in Lollipop and newer the Notification is automatically Colorized based on the colors of the LargeIcon.

Visibility Setting:
“VISIBILITY_PUBLIC” shows the notification’s full content.
“VISIBILITY_SECRET” doesn’t show any part of this notification on the lock screen.
“VISIBILITY_PRIVATE” shows basic information, such as the notification’s icon and the content title, but hides the notification’s full content.

Price $15 USD
7db6522b49f30b419f6188445ad5e9e94cafe35c
PayPal.me
Please PM me to Order, Thank you!

Metadata: Notification Media Player Music Stream Streaming Play Pause Button Buttons Audio

4 Likes

icon Setting Update:

I added the ability to use the apps Icon for the Notification.
I’ve tested it from JellyBean 4.1.1 API16 to Oreo 8.0.0 API26 but it should be compatible all the way back to Honeycomb 3.0 API11.

Lollipop to Oreo:












JellyBean to KitKat:



1 Like

I added the option to add Prev(Previous) and Next buttons to the notification.
Lollipop 5.0 and Newer:







JellyBean 4.1 to KitKat 4.4:
20180702_002526


20180702_002513


Blocks:
Notification:



ActionButtonClick:

Hello, where (which email address) can i write email because i want to buy this extension. Thx :slight_smile:

Hey! Me too!
I want to buy this!

hi my friend i bay before from you MediaStyleNotification but i loss but still have in page site app how i can export out to use again