01-09-2013 09:15 PM
I was wondering if anyone can share a sample code for storing dynamically generated image (like in photo gallery) on the local device.
I am dynamically generating png of canvas and need to store it the document/photo gallery of playbook/BB10. The application is purely html5.
Your help is truly appreciated.
01-11-2013 08:50 AM
On BB10 you can do the following:
A) Store the file in the bar using the local protocol local:///
B) Store the file under the shared photos directory using the blackberry.io.shared filepath
For both cases WebWorks supports the HTML file API at the following links:
BB10 example storing a file into a shared directory: https://developer.blackberry.com/html5/apis/blackb
Playbook example code and API: https://developer.blackberry.com/html5/api/blackbe