Using apache cordova plugin, I am able to open the camera function but when I take picture, application gets restarting..
navigator.camera.getPicture( cameraSuccess, cameraError, cameraOptions );
Finally I resolved it...
we need to add below two lines in config.xml.
<preference name="KeepRunning" value="true" />
<preference name="exit-on-suspend" value="false" />