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

ignacio Chiazzo  commented on CB-10950:
---------------------------------------


[~riknoll] it didn“t work, when the app is killed by the SO, the app will never 
go to the action onResume,  this action is only executed when the app is on 
pause and the SO didn't kill the app (take a look at 
http://developer.android.com/reference/android/app/Activity.html). 
Theoretically when the app is killed, and the so want to restore the activity, 
the onCreate is executed and not the onResume. I tried using the onCreate 
function but it didn't work. Any of you found a solution to this problem, and 
want to share a example? 

> 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: Plugin Camera
>    Affects Versions: 5.0.1
>            Reporter: Lokesh Patel
>              Labels: android, triaged, wfc
>
> 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