I am receiving a content uri as an input from another app and I want to access the file (it is a text file), either read the contents, or copy it to somewhere else.
The uri I receive is content://com.pocketfms.easyvfr4.provider/s3e_external/Android/data/com.pocketfms.easyvfr4/files/Outbox/plan.gpx
I want to access the plan.gpx file that is passed in on the uri.
The examples I have found all relate to loading bitmaps from the uri but I want the text file (or to read its contents)
Can anyone explain how to do this?
The uri I receive is content://com.pocketfms.easyvfr4.provider/s3e_external/Android/data/com.pocketfms.easyvfr4/files/Outbox/plan.gpx
I want to access the plan.gpx file that is passed in on the uri.
The examples I have found all relate to loading bitmaps from the uri but I want the text file (or to read its contents)
Can anyone explain how to do this?