Camera API

There are to ways how to activate your camera throught an apllication.

first approach will allows you to take more than one image in session and save them in your default photoalbum

second approach can retrieve image from photoalbum and place image within application or will capture image and save it in application instead of photoalbum.

Both tutorias have some bugs and some examples also required JSON2.js javascript for its local storage to save images in application. As I was very exiciting about this feature I spent decent amount of time by experimenting with modification of this code and trying different tutorials:

https://github.com/phonegap-starter/CameraAPI/blob/master/www/index.html

https://gist.github.com/1585701

http://osdir.com/ml/phonegap/2012-03/msg01372.html

http://groups.google.com/group/phonegap/browse_thread/thread/e084fb0fffb3f4bf

Leave a comment