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 2016/02/01 12:15:40 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=15126129#comment-15126129 ] 

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

Github user Titoine commented on the pull request:

    https://github.com/apache/cordova-plugin-camera/pull/97#issuecomment-177920211
  
    I'm testing it with the developper option "Don't keep activities" and this isn't working everytime.
    After a camera camera getPicture, I get the 'resume' event, and the next build, it isn't launched anymore..only the deviceready.
    
    My existing app isn't really prepare for a solution like this and It take time to rebuild everything (webview etc.) so I'm searching an alternative. If anybody have any idea, I'll take it.
    
    There is a solution for camera part with the CordovaCameraPreview plugin (https://github.com/mbppower/CordovaCameraPreview). But I didn't find a solution for image selection in the gallery and the foreground gallery doesn't seem to work anymore (It crash with "Don't keep activities").


> 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
>              Labels: Android
>
> 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.
> It can be solved bij implementing this PR: https://github.com/apache/cordova-plugin-camera/pull/97



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