I've been attempting to use the PhoneGap functionality to take a picture with my Android phone and have it saved to the phone's gallery. I didn't have any problems getting their Full example project up and running, but the code never saves the image. We've tested on an Iphone and didn't have any problems, so I'm wondering if I'm doing something wrong or this is yet another Android issue.
The following are the steps that I've taken based on what I've seen online.
Add to the app/res/xml/config.xml file<plugin name="Camera" value="org.apache.cordova.CameraLauncher" />
Add to the manifest file
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
Change the options in getPicture() to include 'saveToPhotoAlbum' option
navigator.camera.getPicture(onPhotoDataSuccess, onFail, { quality: 50,
destinationType: destinationType.DATA_URL, saveToPhotoAlbum: true });
I've also tried changing the destination type to FILE_URI but still had no luck. The application can still display the captured image, so I know it's getting that far, I just don't know why it's not saving to the gallery.