Android Question Manifest to make available music player

Robert Valentino

Well-Known Member
Licensed User
Longtime User
Hi:

I've written a music player but my APP does not show in the list of available music players.

Can someone show me what I need to put in a Manifest to make my APP and available music player?

Thanks

BobVal
 

Robert Valentino

Well-Known Member
Licensed User
Longtime User
Saw that:

This is what I have:
B4X:
AddActivityText(Main, 
                <intent-filter>
				<action android:name="android.intent.action.MAIN" />
                <action android:name="android.intent.action.VIEW" />			   
                <action android:name="android.intent.action.MUSIC_PLAYER" />
                <category android:name="android.intent.category.DEFAULT"   />				
				<category android:name="android.intent.category.APP_MUSIC" />
                <category android:name="android.intent.category.LAUNCHER" />				
                <category android:name="android.intent.category.CATEGORY_APP_MUSIC" />
                <data android:scheme="file"/>
                <data android:mimeType="audio/*"/>
                <data android:mimeType="application/ogg"/>
                <data android:mimeType="application/x-ogg"/>
                <data android:mimeType="application/itunes"/>
                <data android:mimeType="application/ogg" android:scheme="file" />
                <data android:mimeType="audio/flac" android:scheme="file" />
                <data android:mimeType="audio/ape" android:scheme="file" /> 
                <data android:mimeType="audio/wv" android:scheme="file" />
                <data android:mimeType="audio/mp4" android:scheme="file" />
                <data android:mimeType="audio/mp3" android:scheme="file" />
                <data android:mimeType="audio/mpc" android:scheme="file" />
                <data android:mimeType="audio/ogg" android:scheme="file" />
                <data android:mimeType="audio/x-wav" android:scheme="file" />
                <data android:mimeType="audio/wav" android:scheme="file" />
                <data android:mimeType="audio/cue" android:scheme="file" />			
                </intent-filter>)

I know I've gone a little crazy. But it never sees my app as a music player
 
Upvote 0

Robert Valentino

Well-Known Member
Licensed User
Longtime User
Yes, found that. That is what made me included the information above.

Actually (my app was registered as the default player), but I did not realized this because I was trying to get another APP "Bluethooth connect and play" to see my program so that I could get my App to be the default Bluetooth player instead of Music Player. But for some reason this APP is not seeing my program.


Still trying to get all this Car to Phone music playing working. And for some reason when I get in the car not all the time but every so often it starts the Music Player even if mine is playing.

Wish I understood this better.

Thanks
 
Upvote 0
Top