I just copied the full example shown in this link http://docs.phonegap.com/en/1.7.0/cordova_camera_camera.md.html#Camera and build one application and tested it on my Samsung Galaxy SCL(android). Once i captures the image using the cam the application is getting closed.
Are you using a DestinationType of DATA_URL or FILE_URI? It is recommended to use FILE_URI and then use the File object to access the file. DATA_URL returns a Base64 encoded image which can cause out of memory errors.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With