[
https://issues.apache.org/jira/browse/CB-8804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14554064#comment-14554064
]
ASF GitHub Bot commented on CB-8804:
------------------------------------
GitHub user thehuijb opened a pull request:
https://github.com/apache/cordova-plugin-camera/pull/97
CB-8804 implement check for saved result
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.
Once our MainActivity restarts you should call the checkForSavedResult
method in onDeviceReady to see if there is a result present from a previous
call to getPicture.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/thehuijb/cordova-plugin-camera
feature/checkSavedResult
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cordova-plugin-camera/pull/97.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 #97
----
commit 7cd437b7ce11275f7285cdd957153f9a414dc4c7
Author: Serge Huijben <[email protected]>
Date: 2015-05-21T09:49:23Z
implement check for saved 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
> Priority: Trivial
>
> 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]