Source code tutorial: http://blog.revivalx.com/2014/05/03/tutorial-camera-cordova-plugin-for-ios-and-android/.
nasrikamaruddin/com.revivalx.cordova.camera
This source code provides example for taking pictures and for choosing images from the system's image library.
Java