thanks for your answer , you said i need to use content resolver.
i tried but no solution yet, can you please give me a simple example.

i got a media content like content://media/external/images/media/6
(this is image content) which i need to pass in InputStream.



On Mar 2, 4:09 pm, Marco Nelissen <marc...@android.com> wrote:
> See my answer in the other thread in which you posted your question.
>
>
>
> On Mon, Mar 2, 2009 at 7:46 AM, zeeshan <genx...@gmail.com> wrote:
>
> > Hi,
>
> > i got FileNotFoundException when run this
>
> > FileInputStream fileToRead = new FileInputStream(fileName);
>
> > here fileName is a string =content://media/external/images/media/6
> > which is got in sdcard image selection
> > by android.provider.MediaStore.Images.Media.INTERNAL_CONTENT_URI
>
> > any solution?- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to