[
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 <[email protected]>
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 <[email protected]>
Date: 2015-04-02T06:45:05Z
add method checkForSavedResult to Camera.js
commit 6dc23cc0e9a7d080d571fb4b5251e42a98423257
Author: Serge Huijben <[email protected]>
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: [email protected]
For additional commands, e-mail: [email protected]