When we click a mp3 file we get the popup window showing default apps which can play that file.
How can I add my app to that list?
For developing the app I referred a tutorial on tuts+.
I am using a service called player service referring to a android-developers blog post.
I have added following code to the <service>
definition in the manifest file
<intent-filter>
<category android:name="android.intent.category.DEFAULT"/>
<data android:scheme="file"/>
<data android:mimeType="audio/*"/>
<data android:mimeType="application/ogg"/>
<data android:mimeType="application/x-ogg"/>
<data android:mimeType="application/itunes"/>
</intent-filter>
What mime type should I set to make my app as one of the default apps?
I am not able to see my app in the popup window.