Android Question Custom mime type and ContentChooser

asales

Expert
Licensed User
Longtime User
Due the changes in the news versions of Android, I'm trying to change the option to backup/restore in my app.

The file of the backup is a sqlite file with a extension ".dbbkp".

In previous version of my app, to restore, I put the file in the folder File.DirRootExternal/backup and select the file using the ClsExplorer class.

Now I use the mime type "application/octet-stream" with ContentChooser to select the file.

Is possible to create my own mime type to the file with extension .dbbkp? How?

Thanks in advance for any tip.
 
Top