Hey people. Going through the API docs for desktop development I realized there was no webcam capture method in the Titanium.Media class. Does anyone know a way around this? A python library perhaps (I'm a Js and Php coder so forgive that if it's a noob suggestion)? I don't want to resort to an AIR implementation although that would be trivial with actionscript. It's a barcode reading app with decoding being done server side. Any help would be greatly appreciated. Thanks in advance.
There is no integrated API for this, but could you use flash maybe? I know flash is capable of using the webcam and saving it using php.
Another option would be implementing a native module that could capture the images from the camera.
This would be coded in C++ then loaded by your application. Most of the core Titanium APIs are implemented this way. There is not much documentation on native modules, but you could look at the Titanium Desktop repository to get an idea. Our premium support services could also help you further. If you have more questions feel free to contact us.