Receive shared data or file from another app?

Hey guys,
anyone of you know how to configure or code a sketch with APDE to receive shared data or file(s) from another app?

I know how to setup the intent in my sketch to open a file from my sketch itself via the file browser, but not how to receive one from outside…

For example: I select a file in my filemanager of choice and then try to open or share that file with my app/sketch…

I’ve been trying alot and searched the webs high and low but my app just never shows up in the list of apps that can be shared with…

Any help would be greatly appreciated!