tags:

views:

30

answers:

0

Hi Friends,

i am get image from sdcard using intent,i want to get all image path from intent.i am using this code

Intent photoPickerIntent = new Intent(Intent.ACTION_PICK);
photoPickerIntent.setType("image/*");
startActivityForResult(photoPickerIntent, 1);

After I returned from this activity I have a data, which contains Uri. It looks like:

content://media/external/images/1

How can I convert this path to real one (just like '/sdcard/image.png') ? Thanks All