cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (CB-8777) add android option to only display gallery type apps on getImage
Date Sun, 08 Nov 2015 13:50:11 GMT


ASF GitHub Bot commented on CB-8777:

Github user thehuijb commented on a diff in the pull request:
    --- Diff: src/android/ ---
    @@ -270,18 +279,20 @@ public void getImage(int srcType, int returnType, int encodingType)
             croppedUri = null;
             if (this.mediaType == PICTURE) {
    -            if (this.allowEdit) {
    +            if (this.onlyGalleries) {
    --- End diff --
    you're probably right, but since the allowEdit option was already forcing the galleries
only option, I thought this way would have the least impact 

> add android option to only display gallery type apps on getImage
> ----------------------------------------------------------------
>                 Key: CB-8777
>                 URL:
>             Project: Apache Cordova
>          Issue Type: New Feature
>          Components: Plugin Camera
>         Environment: Android
>            Reporter: Serge Huijben
>            Priority: Minor
>              Labels: Triaged, android, features
>   Original Estimate: 24h
>  Remaining Estimate: 24h
> Add an option to allow only Gallery type apps to launch on getImage.
> current behaviour would launch an activity that allows the use to select files from filesystem,
remote filesystem (drive, dropbox, onedrive, etc) and galleries.
> I would like to add a switch option onlyGalleries that if set to true would allow the
user to only get images from gallery type apps on the device.  

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message