Possible Duplicate:
using ContentProviderClient vs ContentResolver to access content provider
I am trying to read an image file, but I am getting this parameter from the viewer app as my activity is invoked:
content://media/external/images/media/5820
I tried to read it using a File
object, but the path is not valid. What is the proper way to get the content of the file in a byte[]
?