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

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: