Because it's main flags between process interaction, so Launcher (for ex.) won't have mimetype, and only intent actions, _WALLPAPER. Note! In order to set default application, you need to specify first. So you will need to check this type for each application. However as you can see the vnd prefix on a MIME type is a "vendor prefix", meaning that it is not an official IETF MIME type. The subtype can be the asterisk wildcard to indicate that any subtype matches
This information about mimetype attribute in the the Android Documentation:Īndroid:mimeType - A MIME media type, such as image/jpeg or audio/mpeg4-generic. This is not something new in Android, you can check more information about Media Types Wiki page. Mimetype it's just standard of describing content, and it's next processing. So my question is, what mime types I have to add to the intent filters in the android manifest file? So my question is, what mime types do I have to add to the intent filters in the android manifest file? But I want to be sure that the apps which I listed above are selectable. This would be the main goal, but it would be also okay if the user can choose which application they want to use as the default application. I already noticed that it's nearly impossible to set the app as default app programmatically without the user's interaction.
Contact application (To view, edit, delete and call contacts).Gallery/Photo application (To select and view images).I already saw in this post how to set the SMS app as default: īut I was wondering how to achieve the same for these apps: Currently I'm trying to create a bunch of simple Android apps to replace the default apps with them.