I have a custom file type/extension that I want to associate my app with.
As far as I know, the data element is made for this purpose, but I can\'t get it working. h
You need multiple intent filters to address different situation you want to handle.
Example 1, handle http requests without mimetypes:
Handle with mimetypes, where the suffix is irrelevant:
Handle intent from a file browser app: