Android Question Manifest to make available music player

Discussion in 'Android Questions' started by Robert Valentino, Feb 12, 2015.

  1. Robert Valentino

    Robert Valentino Well-Known Member Licensed 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
     
  2. NJDude

    NJDude Expert Licensed User

    Check THIS post.
     
  3. Robert Valentino

    Robert Valentino Well-Known Member Licensed User

    Saw that:

    This is what I have:
    Code:
    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
     
  4. Erel

    Erel Administrator Staff Member Licensed User

  5. Robert Valentino

    Robert Valentino Well-Known Member Licensed 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
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice