I'm creating a music player app and I want to register the app as a music player. So that when a user clicks on any song to play, my app should be suggested as one of the music players. I followed this guide .
After I added the necessary code in manifest.xml, it only shows my app in suggestions. When I select my app, nothing is played. I think there should be something like receiver in main activity to receive the media path to play the selected song. But I don't know how to implement this.
java android audio android-intent