incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "peeter tomberg (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-1089) While taking a picture with camera.getPicture, nothing happens after I return to the app.
Date Sun, 22 Jul 2012 10:30:34 GMT

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

peeter tomberg commented on CB-1089:
------------------------------------

We are indeed using a DATA_URL. 

As I understand, Android kills and respawns my application if memory is too low. And because
of that, the callback phonegap sends is sent to the wrong instance of my app (that no longer
exists)?  Isn't it possible for phonegap to detect this and send the callback from the camera
to the newly spawned application?
                
> While taking a picture with camera.getPicture, nothing happens after I return to the
app.
> -----------------------------------------------------------------------------------------
>
>                 Key: CB-1089
>                 URL: https://issues.apache.org/jira/browse/CB-1089
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 1.9.0, 2.0.0
>         Environment: Android
>            Reporter: peeter tomberg
>            Assignee: Joe Bowser
>
> I've made a post on StackOverFlow about it, but it seems to be a phonegap bug.
> The code I use to replicate this bug is available here:
> http://stackoverflow.com/questions/11544992/taking-a-picture-from-the-camera-fails-20-of-the-time
> Happens on both Samsung Galaxy S2 running CM9 and a pure HTC One X (not rooted, no custom
rom). Basically camera.getPicture success or failure callbacks aren't called, literally nothing
happens. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message