Unable to display image after storing it in system.DocumentsDirectory in android phone

Hi all,

This is very serious problem. Or may be I didn’t get the proper solution for it.

Actually I am using an xml which is having reference to remote images, which I am downloading to system.DocumentsDirectory and some text with it. It is working fine in the simulator. But when I build the apk and run the app on android, It downloaded the images and I am able to read the text from the xml. But I am unable to locate the images in system.DocumentsDirectory.

Means, when i am displaying the images using,
display.newImage( ‘filename’, system.DocumentsDirectory )
it not loading the image.

Need help…

Thanks in advance. [import]uid: 47521 topic_id: 8338 reply_id: 308338[/import]

Hey,

actually build 327 states the following:


Android: fixes casenum: 4027: Fixes ability to open images in doc/tmp directories. This caused SimpleImageDownload to fail.

cheers, [import]uid: 11772 topic_id: 8338 reply_id: 29790[/import]

Guys, please help, still unable to do that.
No help at all from ansca… [import]uid: 47521 topic_id: 8338 reply_id: 29956[/import]

Thanks for responding. Are you able use parse an XML dataset from the web and then display images from the system folder?
[import]uid: 47521 topic_id: 8338 reply_id: 30160[/import]