18 Jul 2012 9:44 PM #1
Unanswered: Photo Taking Application Code
I would like to incorporate taking photographs for identification purposes and saving them in localStorage as a part of my application. Though I have been able to find completed Sencha applications, I have not been able to see source code or a tutorial on how this would be done. Any resources or built-in Sencha tools for such a process would be much appreciated.
We are going to use PhoneGap to make this application for iPhone/Android, so any tools or resources on that end would also be awesome
20 Jul 2012 8:51 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
The example for Ext.device.Camera shows a simple usage. Instead of the setSrc, you would just save to localstorageMitchell Simoens @SenchaMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services firstname.lastname@example.org
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
20 Jul 2012 11:49 PM #3
Hi mitchellsimoens. The example for Ext.device.Camera doesnt seem to be working for me. The error says it's unable to locate Camera.js. I tried using other components under Ext.device, but all give the same error. The error appears at the require statement:Code:Ext.require('Ext.device.Camera');
27 Dec 2012 11:24 PM #4
Try this, this worked for me.