I'm in the process of writing a tool which produces an Android Manifest (mostly) based on an appstream upstream metadata component. On android you have to explicitly specify an action for which mimetypes should be handled. I specifically want to differentiate between applications that only have the ability to "view" a file of a specific mimetype and applications that can also "edit" those.
Functionality like this is also not limited to Android, as for example GLib/GIO has a hint parameter in its Gio.Application.open which might allow an application to determine what it is supposed to do.
I'm in the process of writing a tool which produces an Android Manifest (mostly) based on an appstream upstream metadata component. On android you have to explicitly specify an action for which mimetypes should be handled. I specifically want to differentiate between applications that only have the ability to "view" a file of a specific mimetype and applications that can also "edit" those.
Functionality like this is also not limited to Android, as for example GLib/GIO has a
hintparameter in its Gio.Application.open which might allow an application to determine what it is supposed to do.