incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filip Maj (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-924) Implement saveToPhotoAlbum CameraOption on Android
Date Wed, 20 Jun 2012 00:46:42 GMT

    [ https://issues.apache.org/jira/browse/CB-924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13397186#comment-13397186
] 

Filip Maj commented on CB-924:
------------------------------

The reason the picture wasn't coming up in the Gallery was because when you save the image
to the SD card by default, it won't show up in the gallery until your remount your SD card
(or device reboots).

I've added a small extension to the CameraLauncher plugin so that it implements {{MediaScannerConnection}}.
After it writes a picture file to the device, it will fire off a scan. I put this up on a
branch here:
https://git-wip-us.apache.org/repos/asf?p=incubator-cordova-android.git;a=shortlog;h=refs/heads/mediascanner
                
> Implement saveToPhotoAlbum CameraOption on Android
> --------------------------------------------------
>
>                 Key: CB-924
>                 URL: https://issues.apache.org/jira/browse/CB-924
>             Project: Apache Cordova
>          Issue Type: Sub-task
>          Components: Android
>         Environment: This seems to be default behaviour on a Nexus S running 2.3.6 (always
saves to Gallery regardless of option specified)
> On a Galaxy Nexus running 4.0.2, it _never_ seems to save to Gallery.
>            Reporter: Filip Maj
>            Assignee: Filip Maj
>             Fix For: 1.9.0
>
>
> {{CameraOptions}} support a property {{saveToPhotoAlbum}}, which is not implemented on
Android.
> Allows for a a returned picture from the {{getPicture}} API to be saved directly to the
Gallery application upon taking the picture.

--
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

        

Mime
View raw message