appstream icon indicating copy to clipboard operation
appstream copied to clipboard

Provide some sort of action hint for mime/mediatypes

Open sp1ritCS opened this issue 1 year ago • 1 comments

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.

sp1ritCS avatar Dec 25 '24 23:12 sp1ritCS

Having such a distinction of edit vs view makes a lot of sense, but it could be a bit difficult to add (not to the XML, but to the C API...). I'll look into it :-)

ximion avatar Apr 21 '25 03:04 ximion