Hello All

I am not able to retrive a cursor object from a absolute path (nothing
but Media.Data column contents)

String filepath = "/mnt/sdcard/DCIM/100MEDIA/IMAG0028.jpg";
Uri uri = Uri.fromFile(new File(filepath));

Cursor pointer = getContentResolver().query(uri, null, null, null,
null);

I am getting a pointer as a null.

I have even tried

Uri uri = Uri.withAppendedPath (Media.EXTERNAL_CONTENT_URI,filepath);

But no success.

I would like to extract the latitude column for my application.

Thanks
Palash

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to