is this what you're talking about:
sharing ? somebody makes a resource available to your app. the os tells you where you can find it. your app needs the other app to share its resource(s) with you. the other app makes the name known to any other app listed as an app that can handle a particular type of resource (eg, image). your app accepts the shared resource and asks the os where it is. take the pictures gallery. select an image. you see several icons, among them a sharing icon. tap that icon and you see a list of app that can accept an image. someday that list will include your app (when you create it). if the user clicks on your app, your app runs. it sees the name of the resource and its location (hint: not in the gallery). your app can now do its thing. the os oversees the relocation of the resource from the other app's territory to some neutral area where your app is allowed to copy it into your territory. for whatever reason (or lack of any reason), your app can't know how big the resource is in advance. maybe it forgot that step. seems pretty obvious to me that it's a piece of information that might be useful, but we're just visiting.