简体   繁体   中英

save image file in local storage and retrieve image from file path html cordova apps

Its quite strange that from all the references i try to save and retrieve images from local storage but it does not display image after app is relaunched.

Tried all possible suggestions in the below links.

save-image-in-local-storage-phonegap

Save image in local database

capture-and-store-images

 function successMove(entry) {

        var sr = entry.nativeURL;
    }

After success i tried to save entry.nativeURL,entry.toURL(),entry.fullPath. But all fails. Cant trace where am wrong.

Note: Tested only in IOS simulator, Development using visual studio 2015

I got this solved when i deploy my app in a real device like a ipad. Only on simulator i get this error.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM