I have some image files in server. I need to move or transfer the image files to iPad memory card, so that I can access the image files from the ipad memory card for my iPad application instead of hitting the server to load the image quickly.
My server side is using java.
My client side is using phonegap (javascript, html, css) for iPad.
In server side I am sending the response (response.setContentType(“image/gif”)) in image format. But I am not able to write image file in client side using javascript.
How to transfer image file to iPad memory storage?
Please help me.
You’re just trying to download an image using in your Cordova application using Javascript? I’m downloading PDFs to my app using the following code:
Perhaps you can use this for your images.