Titanium JIRA Archive
Appcelerator Community (AC)

[AC-2760] Android Camera - SaveToPhotoGallery:false doesn't work & Success Event only triggered randomly

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionNeeds more info
Resolution Date2011-08-06T12:27:26.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsandroid, camera, gallery, photo, sdcard
ReporterBrian Dittmer
AssigneeTony Guntharp
Created2011-06-22T09:15:38.000+0000
Updated2016-03-08T07:47:39.000+0000

Description

- 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

Attachments

FileDateSize
AndroidCameraLog6-23-11-b.txt2011-06-23T08:29:46.000+000098352
AndroidCameraLog6-23-11-c.txt2011-06-23T08:38:12.000+000098767
camera.js2011-06-22T09:15:38.000+00001182
Camera-log-6-23-11.txt2011-06-23T07:42:53.000+000098350
DroidLog-CameraApp.txt2011-06-22T20:00:02.000+000098163

Comments

  1. Brian Dittmer 2011-06-22

    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.
  2. Brian Dittmer 2011-06-23

    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
  3. Brian Dittmer 2011-06-23

    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.
  4. Brian Dittmer 2011-06-23

    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.
  5. Brian Dittmer 2011-06-23

    Droid handset log... 3 photos taken... NO Success Events triggered....
  6. Brian Dittmer 2011-06-28

    here's the QA link http://developer.appcelerator.com/question/120871/android-camera-pictures-not-saving#answer-211638
  7. Paul Dowsett 2011-07-23

    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
  8. Paul Dowsett 2011-08-06

    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
  9. Paul Dowsett 2011-10-07

    Closing due to inactivity.

JSON Source