GitHub Issue | n/a |
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Needs more info |
Resolution Date | 2011-08-06T12:27:26.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Titanium SDK & CLI |
Labels | android, camera, gallery, photo, sdcard |
Reporter | Brian Dittmer |
Assignee | Tony Guntharp |
Created | 2011-06-22T09:15:38.000+0000 |
Updated | 2016-03-08T07:47:39.000+0000 |
- SaveToPhotoGallery:false >> doesn't work, photo is always saved in gallery -- images(external)
- Success Event only get's triggered randomly
Tested on original Droid, running Android 2.2.2
Log from Droid - (3)photos taken in a row that actually saved to SDCard, then one taken that didn't save, then cancelled camera app.
Here's another log file from my Droid - following this sequence of things: - 2 pics taken and saved to SD (ie. Success event triggered) - 1 pic taken...NOT saved to SD or msg dialog triggered -- so Success event NOT triggered - Cancel initiated via button press & cancel event triggered
add a msg dialog after var cropRect = event.cropRect; var image = event.media; so that I can track when the Success event is being triggered....and it only seems to trigger randomly. It can occur multiple times in a row...then just stop. When triggered the SDCard pic save occurs. Regardless of Success event triggering or not - gallery save occurs always.
Droid handset log for app run with following sequence: Worked Didn't work Worked Worked Cancel This app run was after Forcing Close and Clearing any data. Seems that re-running app after doing so...gives much greater chance of having things work as expected.
Droid handset log... 3 photos taken... NO Success Events triggered....
here's the QA link http://developer.appcelerator.com/question/120871/android-camera-pictures-not-saving#answer-211638
Brian In order for us to progress this issue, we need a usecase that runs without modification when posted into an app.js file. Please correct your script and add it as a code block to the main body of this ticket. Also, please provide the build date and hash of the latest Titanium SDK you have tried (preferably 1.7.2, or the latest 1.7.X [continuous build](http://wiki.appcelerator.org/display/guides/Continuous+Builds)). The guidelines for creating tickets can be found at [Submitting Bug Reports](http://wiki.appcelerator.org/display/guides/Contributing+to+Titanium#ContributingtoTitanium-SubmittingBugReports). Thanks
I will close this for the moment. Once the usecase has been added, I will be happy to reopen and move it to the correct project. Thanks
Closing due to inactivity.