I need to develop a mobile app that is capable of using the device’s camera to take a shot. Then it should be able to upload that photo to the server for display on the website front end. This paradigm would be similar to most photo-sharing social sites, like Instagram.
My question is if this is possible using the Sencha Touch 2 framework. Even if possible, is this a recommended approach? Would it be preferable to use another framework or develop this as native app using iOS SDK?
If you have any code to point to as an example it would be much appreciated.
This first anwser is yes. Here are the docs: http://docs.sencha.com/touch/2-0/#!/api/Ext.device.Camera
I’ve done the above using Titanium, Native iOS and JS/HTML5. The functionality you are after is a simple and classic one, it will work in most frameworks. If you’re not familiare with Objective-C, another “simpler” framework sounds good. If you think Sencha looks cool, try it out 🙂 I haven’t myself used it framework.