On Mon, Mar 2, 2009 at 7:50 AM, zeeshan <[email protected]> wrote: > > Hi, > > i am having similar problem, > > i am getting FileNotFoundException when run this command. > > FileInputStream fileToRead = new FileInputStream(fileName); > > here fileName is a string "content://media/external/images/media/6" by > android.provider.MediaStore.Images.Media.INTERNAL_CONTENT_URI image > selction in sdcard. > > any solution?
This is completely unrelated to the other problem described in this thread. "content://media/external/images/media/6" is a content Uri, not a file name. You will need to go through the ContentResolver to access it. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

