You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Simon MacDonald (JIRA)" <ji...@apache.org> on 2012/07/02 16:30:41 UTC

[jira] [Created] (CB-992) Camera tries to add temp photo to gallery

Simon MacDonald created CB-992:
----------------------------------

             Summary: Camera tries to add temp photo to gallery
                 Key: CB-992
                 URL: https://issues.apache.org/jira/browse/CB-992
             Project: Apache Cordova
          Issue Type: Bug
          Components: Android
    Affects Versions: 1.9.0
            Reporter: Simon MacDonald
            Assignee: Simon MacDonald
            Priority: Minor
             Fix For: 2.0.0


Right now the camera code implements the onMediaScannerConnected interface and in that method it tries to do a scanFile on the temporary file that was created by the Camera when it should:

a) only do the scan on the final image
b) and only if saveToPhotoAlbum is set to true. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (CB-992) Camera tries to add temp photo to gallery

Posted by "Simon MacDonald (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-992?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simon MacDonald resolved CB-992.
--------------------------------

    Resolution: Fixed

I've made the necessary changes so that the image is only scanned if saveToPhotoAlbum is true.
                
> Camera tries to add temp photo to gallery
> -----------------------------------------
>
>                 Key: CB-992
>                 URL: https://issues.apache.org/jira/browse/CB-992
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 1.9.0
>            Reporter: Simon MacDonald
>            Assignee: Simon MacDonald
>            Priority: Minor
>             Fix For: 2.0.0
>
>
> Right now the camera code implements the onMediaScannerConnected interface and in that method it tries to do a scanFile on the temporary file that was created by the Camera when it should:
> a) only do the scan on the final image
> b) and only if saveToPhotoAlbum is set to true. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira