Related to music apps such as Android Melon

Asked 2 years ago, Updated 2 years ago, 22 views

On Android

There are applications that play music such as melons and basic music apps.

Can I know when the music ends and starts again while playing music on the music app?

I want to print out any sound or frequency before the music starts again after the music is over

I don't know if it's possible.

Thank you Have a good day, everyone~

android

2022-09-21 21:16

1 Answers

Number 1 broadcasts the playback status and meta-information of the sound source when the sound source is played in a music app, so you can find it out using a broadcast receiver in another app. Please refer to the answers in the article below for information on broadcast receivers.

I think it would be better to make a code that plays the sound source for number 2 and 3 and test it yourself.


2022-09-21 21:16

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.