Is There Any Way to Associate My App With a MIME Type?

Hello, I've been searching for a way to make android open my app with a certain amount of files.
For example, if I want my app to show up as an app to view pictures or videos, is there any way to do this? If not, then is there any way to expose the android manifest of my app and edit it manually?

Does this help ?

Correct me if I'm wrong, but doesn't this just handle external url's ? Also I have access to the file's location and name, I just need to open it with my app. Sorry for the inconvenience