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

Lokesh Patel commented on CB-10950:
-----------------------------------

Hi,

I have applied functionality to the Sencha touch framework and faced the 
problem.
Bellow code for both functionality.

function getCameraPicture(){
        navigator.camera.getPicture(getPicture_Success, null, {
            quality: 20,
            destinationType: Camera.DestinationType.FILE_URL
        });
    }
 
  function getLibPicture(){
     navigator.camera.getPicture(getPicture_Success, null, {
     quality: 20,
      destinationType: navigator.camera.DestinationType.FILE_URL,
      sourceType: navigator.camera.PictureSourceType.SAVEDPHOTOALBUM
      });
    }

Also,  please suggest me can " Android Garbage Collector to kill background 
phonegap applications. "  ?

Thanks,
Lokesh Patel

> Phonegap app in the background when capture and select image for gallery app 
> stop/restart. 
> -------------------------------------------------------------------------------------------
>
>                 Key: CB-10950
>                 URL: https://issues.apache.org/jira/browse/CB-10950
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 5.0.1
>            Reporter: Lokesh Patel
>
> Hi,
> In android application when the user tries for capturing images and select 
> image from gallery app stop/restart.
> I found below details after search lots of google and forums:
> " The Phonegap (Cordova) Camera Plugin calls the native camera and this makes 
> Android Garbage Collector to kill background applications."
> Thanks,
> Lokesh Patel



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to