-
18 Jul 2012 9:44 PM #1
Unanswered: Photo Taking Application Code
Unanswered: Photo Taking Application Code
Hello,
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
Thanks!
-
20 Jul 2012 8:51 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,656
- Vote Rating
- 435
- Answers
- 3108
The example for Ext.device.Camera shows a simple usage. Instead of the setSrc, you would just save to localstorage
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
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 services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost 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:
I've been struggling with this issue for quite some time now and havent found any solution. I also have noticed few others also facing this issue. Would you suggest I file a bug report with Sencha?Code:Ext.require('Ext.device.Camera');
-
27 Dec 2012 11:24 PM #4
Try this, this worked for me.
requires: [
'Ext.device.Camera'
],
Thanks,
Vishwas


Reply With Quote