• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Flash as3 air custom notification for music player, help?

Explorer ,
Jan 18, 2018 Jan 18, 2018

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

11954620_10153574159971543_7746758011460724864_n.jpgqFoSXBc.pngrauGbQH.png

TOPICS
ActionScript

Views

3.4K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Engaged , Jul 25, 2018 Jul 25, 2018

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

android_audio_notification.png

Votes

Translate

Translate
Explorer ,
Jul 24, 2018 Jul 24, 2018

Copy link to clipboard

Copied

is there any sample apk that I will see?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 24, 2018 Jul 24, 2018

Copy link to clipboard

Copied

I need demo version too )))

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 24, 2018 Jul 24, 2018

Copy link to clipboard

Copied

Can I show a notification for audio without display a native video player?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Jul 24, 2018 Jul 24, 2018

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

air native extensions // https://airnativeextensions.com

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 25, 2018 Jul 25, 2018

Copy link to clipboard

Copied

I'll wait 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 25, 2018 Jul 25, 2018

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Jul 25, 2018 Jul 25, 2018

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Jul 25, 2018 Jul 25, 2018

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

android_audio_notification.png

air native extensions // https://airnativeextensions.com

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 26, 2018 Jul 26, 2018

Copy link to clipboard

Copied

Wow. This is what I need   How to buy it?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 26, 2018 Jul 26, 2018

Copy link to clipboard

Copied

Can I make a close button as in the picture? Or just swipe a notification?notification_screen.jpg

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 26, 2018 Jul 26, 2018

Copy link to clipboard

Copied

Congratulations.   what we finally found the thing that we were searching.

How to buy it?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Jul 26, 2018 Jul 26, 2018

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

air native extensions // https://airnativeextensions.com

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Aug 10, 2018 Aug 10, 2018

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Aug 10, 2018 Aug 10, 2018

Copy link to clipboard

Copied

Currently information in the notification is set manually using the functions in the "remote command center" :

MediaPlayer by distriqt

air native extensions // https://airnativeextensions.com

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Aug 29, 2018 Aug 29, 2018

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)?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Aug 29, 2018 Aug 29, 2018

Copy link to clipboard

Copied

I'm using URL. It works.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Aug 29, 2018 Aug 29, 2018

Copy link to clipboard

Copied

LATEST

Hi,

Yes remote audio files and mp3 streams are also supported.

air native extensions // https://airnativeextensions.com

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines