On iOS, you should not try to open the selected image as a file, instead you should use the MediaPromise API to access the content (iOS won’t actually let apps to access those files directly). If you do a search for CameraRoll + MediaPromise you should find some example.
2014/1/24 JC Lang <nextge...@yahoo.fr> > Hello devs, > I encounter a problem with data returned by CameraRoll on Android. > (Not sure if it's the correct place to ask, but I didn't find anything on > the subject...) > > It looks like the path of the File returned by CameraRoll when selecting > an image using the OS internal "Gallery" doesn't return the "real" path of > the file; > but instead, some sort of "local" path which looks like a meta data value > used by the "Gallery" to tag elements. > The problem occurs only when files are "moved" or renamed externally, > meaning the first "tag" value assignment matches the real file path. > > So MediaPromise takes this "gallery path" value as file path, and cannot > find the file of course. > Question: am I doing something wrong or have somebody seen this problem > already?