Show image from fileuri
Hi
I use de Camera Service to take a photo and to save locally.
After that, I have the image fileuri: file:///mnt/sdcard/Android/data/io.appery.project....
¿How can I show this picture in my image component?
Catch up wih the Appery.io community on our forum. Here you'll find information on the lastest questions and issues Appery.io developers are discussing.
https://forum.appery.io/
Hi
I use de Camera Service to take a photo and to save locally.
After that, I have the image fileuri: file:///mnt/sdcard/Android/data/io.appery.project....
¿How can I show this picture in my image component?
Hello! Please check these posts
https://getsatisfaction.com/apperyio/...
https://getsatisfaction.com/apperyio/...
Hello!
I have seen both posts and one of them tell about uploading an image and the other tell about putting an image from de binary data.
In this moment, I don't know how to access to this file because it's in a not accesible folder.
Uploading the file, I think neither is a solution because I have to work offline.
¿Any example to read the file from this fileuri?
Try the following code to specify file path:
Appery("mobileimage").attr("src","file:///mnt/sdcard/Android/data/io.appery.project....");
where 'mobileimage' is an Image component name.