I write a program for Android, which works with Sqlite3 database. I want to pick database file by FilePicker. Database has standard .db
extension. But the FilePicker does not accept this file.
var options = new PickOptions
{
FileTypes = new FilePickerFileType
(new Dictionary<DevicePlatform, IEnumerable<string>>
{
{ DevicePlatform.Android, new[] { "application/vnd.sqlite3", "image/jpeg" } },
{ DevicePlatform.UWP, new[] { ".db" } }
}),
PickerTitle = "Please, select database file"
};
This options code alloys to accept pictures, but doesn't accept my database file. Where I'm wrong?
"*/*"
.