plugin for phonegap, camera and gallery in the foreground, android only. tested on phonegap version 3.3.0
based on these previous works :
https://code.google.com/p/foreground-gallery-plugin/
https://github.com/mWater/cordova-plugin-camera-foreground
usage :
Uninstall apache cordova camera plugin and install this. Same functionality.