if another app is sharing a resource with your app, you can simply change references to loading a
bitmap to loading a text file. you can use file.readstring() or inputstream.readbytes(). if you use
inputstream, then you have to perform an additional step to convert to utf8 text (or you could just save
the bytes and read as text at your leisure).
the key involves handling whether the intent filter used send or view as its intent action, as access to
the uri is different depending on the action. since you seem to have the uri already, it sounds like you
have that under control. but you need to be able to handle both eventualities if you were writing a general
use app.