Copy link to clipboard
Copied
Hi, How can I make this system as3/air ?
I have found a lot of ANE and examples but it is not that way.
i want to My sound Play/Pause Notification.
Andorid links:
Playing background Audio in Android with MediaSessionCompat - Learn Programming Together
Android custom notification for music player Example | Tutorials Face
Here's a link to a simple background audio player APK
Dropbox - TestBackgroundAudioPlayer.apk
And a quick little video of the notification in action along with the Android Wear interaction.
Copy link to clipboard
Copied
is there any sample apk that I will see?
Copy link to clipboard
Copied
I need demo version too )))
Copy link to clipboard
Copied
Can I show a notification for audio without display a native video player?
Copy link to clipboard
Copied
The notification is tied to the new AudioPlayer implementation which has no in app UI and there is no need for a video player.
I'll put together a demo APK later this week.
Cheers
Copy link to clipboard
Copied
I'll wait
Copy link to clipboard
Copied
michaelarchbold, can you add the notification controller in the sample project that I made?
my project plays to work music in the background.
I want to just the notification controller.
For example,
if I push the pause button on the notification controller, The notification should send the code to 'pause();', in my app.
if I push the play button on the notification controller, the notification should send the code to 'play();', in my app.
Sample video: screen_video - Streamable
Sample source documents: http://https://yadi.sk/d/4kvRFf__3ZYnKW
Copy link to clipboard
Copied
An update from my side, I have paused the project, due to major issues with Starling and rendering mode on android. After we solve this, we might continue development, but for now Michaels solution is the best bet.
Copy link to clipboard
Copied
Here's a link to a simple background audio player APK
Dropbox - TestBackgroundAudioPlayer.apk
And a quick little video of the notification in action along with the Android Wear interaction.
MediaPlayer ANE Background Audio - YouTube
Copy link to clipboard
Copied
Wow. This is what I need How to buy it?
Copy link to clipboard
Copied
Can I make a close button as in the picture? Or just swipe a notification?
Copy link to clipboard
Copied
Congratulations. what we finally found the thing that we were searching.
How to buy it?
Copy link to clipboard
Copied
Hi,
We don't currently have an option for a close button. Will consider this for the next point release, I hadn't actually seen any like that before but it seems like a good option.
It's available through our site:
https://airnativeextensions.com/extension/com.distriqt.MediaPlayer
Copy link to clipboard
Copied
Hey michaelarchbold​, does the metadata come from the stream, or is there an option to custom set them?
Thank you.
Copy link to clipboard
Copied
Currently information in the notification is set manually using the functions in the "remote command center" :
Copy link to clipboard
Copied
Hi michaelarchbold​, I can see in the documentation that you are using a local file - mp3 for music. Can the mediaPlayer ane use url streams like icecast (.mp3 stream)?
Copy link to clipboard
Copied
I'm using URL. It works.
Copy link to clipboard
Copied
Hi,
Yes remote audio files and mp3 streams are also supported.