You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/04/07 01:30:12 UTC

[jira] [Commented] (CB-8804) https://github.com/apache/cordova-plugin-camera#android-quirks

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

ASF GitHub Bot commented on CB-8804:
------------------------------------

GitHub user thehuijb opened a pull request:

    https://github.com/apache/cordova-plugin-camera/pull/83

    solves CB-8804 https://github.com/apache/cordova-plugin-camera#android-quirks

    added action checkForSavedResult to be called from javascript in ondeviceready.
    
    this pull request is an attempt to fix:
    
    Android Quirks
    
    Android uses intents to launch the camera activity on the device to capture images, and on phones with low memory, the Cordova activity may be killed. In this scenario, the image may not appear when the Cordova activity is restored.


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/thehuijb/cordova-plugin-camera feature/checkForSavedResult

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cordova-plugin-camera/pull/83.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #83
    
----
commit 36006517feac4b9e48b59e9d79a1fda9fdafe0cb
Author: Serge Huijben <s....@gmail.com>
Date:   2015-04-02T06:40:49Z

    add action checkForSavedResult,
    add mechanism to save an ActivityResult coming in after MainActivity was killed

commit c755ca399909805466ab40f2e2d27c5555c2355d
Author: Serge Huijben <s....@gmail.com>
Date:   2015-04-02T06:45:05Z

    add method checkForSavedResult to Camera.js

commit 6dc23cc0e9a7d080d571fb4b5251e42a98423257
Author: Serge Huijben <s....@gmail.com>
Date:   2015-04-02T09:26:08Z

    correct spelling of callback and return no-result

----


> https://github.com/apache/cordova-plugin-camera#android-quirks
> --------------------------------------------------------------
>
>                 Key: CB-8804
>                 URL: https://issues.apache.org/jira/browse/CB-8804
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: Plugin Camera
>         Environment: Android
>            Reporter: Serge Huijben
>
> Android Quirks
> Android uses intents to launch the camera activity on the device to capture images, and on phones with low memory, the Cordova activity may be killed. In this scenario, the image may not appear when the Cordova activity is restored.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org