You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Unai Sarasola (JIRA)" <ji...@apache.org> on 2012/06/04 13:27:22 UTC
[jira] [Created] (CB-855) Problems with the camera and getPicture
on Android
Unai Sarasola created CB-855:
--------------------------------
Summary: Problems with the camera and getPicture on Android
Key: CB-855
URL: https://issues.apache.org/jira/browse/CB-855
Project: Apache Cordova
Issue Type: Bug
Components: Android
Affects Versions: 1.7.0
Environment: Android Example code from Cordova 1.7.0
Android Emulator 2.2
Huawei U8650 with Android 2.3.5
Reporter: Unai Sarasola
Assignee: Joe Bowser
When I run the example code of Android in the emulator or in the phone, and I press Took a Picture, the Camera Intent is loaded and I can take the picture, but then, the App is reloaded and nothing happens.
I can't see any picture. I think is a cordova's bug, because I have tried to do it by myself in a silly Application invoking to getPicture, and similar, and I can't get the photo.
--
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
[jira] [Resolved] (CB-855) Problems with the camera and getPicture
on Android
Posted by "Joe Bowser (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-855?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joe Bowser resolved CB-855.
---------------------------
Resolution: Cannot Reproduce
Again. Check your developer settings. It's likely that your application is shutting down when switching intents for some reason.
> Problems with the camera and getPicture on Android
> --------------------------------------------------
>
> Key: CB-855
> URL: https://issues.apache.org/jira/browse/CB-855
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android
> Affects Versions: 1.7.0
> Environment: Android Example code from Cordova 1.7.0
> Android Emulator 2.2
> Huawei U8650 with Android 2.3.5
> Reporter: Unai Sarasola
> Assignee: Joe Bowser
> Labels: 1.7.0, android, camera, getPicture
> Original Estimate: 48h
> Remaining Estimate: 48h
>
> When I run the example code of Android in the emulator or in the phone, and I press Took a Picture, the Camera Intent is loaded and I can take the picture, but then, the App is reloaded and nothing happens.
> I can't see any picture. I think is a cordova's bug, because I have tried to do it by myself in a silly Application invoking to getPicture, and similar, and I can't get the photo.
--
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
[jira] [Comment Edited] (CB-855) Problems with the camera and
getPicture on Android
Posted by "Unai Sarasola (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-855?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13288590#comment-13288590 ]
Unai Sarasola edited comment on CB-855 at 6/4/12 2:33 PM:
----------------------------------------------------------
I think there are problems with the memory management. I think that when the Intent Camera is made in the Plugin, the Cordova's Application is being killed by the Garbage collector.
was (Author: pianista):
I think there are problems with the memory management. I think when the Intent to the Camera is made in the Plugin, the Cordova Application is being kill by the Garbage recolector.
> Problems with the camera and getPicture on Android
> --------------------------------------------------
>
> Key: CB-855
> URL: https://issues.apache.org/jira/browse/CB-855
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android
> Affects Versions: 1.7.0
> Environment: Android Example code from Cordova 1.7.0
> Android Emulator 2.2
> Huawei U8650 with Android 2.3.5
> Reporter: Unai Sarasola
> Assignee: Joe Bowser
> Labels: 1.7.0, android, camera, getPicture
> Original Estimate: 48h
> Remaining Estimate: 48h
>
> When I run the example code of Android in the emulator or in the phone, and I press Took a Picture, the Camera Intent is loaded and I can take the picture, but then, the App is reloaded and nothing happens.
> I can't see any picture. I think is a cordova's bug, because I have tried to do it by myself in a silly Application invoking to getPicture, and similar, and I can't get the photo.
--
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
[jira] [Resolved] (CB-855) Problems with the camera and getPicture
on Android
Posted by "Joe Bowser (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-855?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joe Bowser resolved CB-855.
---------------------------
Resolution: Cannot Reproduce
Please stop re-opening this bug. We have tested this on our end and we can't reproduce this issue. If you wish to have this issue looked into, please provide us some sample code, otherwise we will keep testing with our test suite and we will keep marking this bug as not reproducible.
> Problems with the camera and getPicture on Android
> --------------------------------------------------
>
> Key: CB-855
> URL: https://issues.apache.org/jira/browse/CB-855
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android
> Affects Versions: 1.7.0
> Environment: Android Example code from Cordova 1.7.0
> Android Emulator 2.2
> Huawei U8650 with Android 2.3.5
> Reporter: Unai Sarasola
> Assignee: Joe Bowser
> Labels: 1.7.0, android, camera, getPicture
> Original Estimate: 48h
> Remaining Estimate: 48h
>
> When I run the example code of Android in the emulator or in the phone, and I press Took a Picture, the Camera Intent is loaded and I can take the picture, but then, the App is reloaded and nothing happens.
> I can't see any picture. I think is a cordova's bug, because I have tried to do it by myself in a silly Application invoking to getPicture, and similar, and I can't get the photo.
--
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
[jira] [Reopened] (CB-855) Problems with the camera and getPicture
on Android
Posted by "Unai Sarasola (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-855?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Unai Sarasola reopened CB-855:
------------------------------
But ¿is possible the Cordova App and the Camara Intent consume the 60 MB of Ram that is free?
With the plugin of Zxing for read qrcode that uses the camera, there isn't any problems like that but may be I've been considering that the Camera Intent is more simple than the QRCode Reader Intent.
Thanks a lot, I will try it in other mobile phones.
> Problems with the camera and getPicture on Android
> --------------------------------------------------
>
> Key: CB-855
> URL: https://issues.apache.org/jira/browse/CB-855
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android
> Affects Versions: 1.7.0
> Environment: Android Example code from Cordova 1.7.0
> Android Emulator 2.2
> Huawei U8650 with Android 2.3.5
> Reporter: Unai Sarasola
> Assignee: Joe Bowser
> Labels: 1.7.0, android, camera, getPicture
> Original Estimate: 48h
> Remaining Estimate: 48h
>
> When I run the example code of Android in the emulator or in the phone, and I press Took a Picture, the Camera Intent is loaded and I can take the picture, but then, the App is reloaded and nothing happens.
> I can't see any picture. I think is a cordova's bug, because I have tried to do it by myself in a silly Application invoking to getPicture, and similar, and I can't get the photo.
--
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
[jira] [Reopened] (CB-855) Problems with the camera and getPicture
on Android
Posted by "Unai Sarasola (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-855?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Unai Sarasola reopened CB-855:
------------------------------
Finally, I'm trying to do it with other Phone, with this phone, I'm obtaining error code 5 when accesing to the file_uri returned by the callback of getPicture when I'm selecting an Image from the gallery.
And I'm also seeing that and error like : can't open /mnt/sdcard/data/package/cache/Pic.jpg that I think may be involved in the error.
Thank you!
> Problems with the camera and getPicture on Android
> --------------------------------------------------
>
> Key: CB-855
> URL: https://issues.apache.org/jira/browse/CB-855
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android
> Affects Versions: 1.7.0
> Environment: Android Example code from Cordova 1.7.0
> Android Emulator 2.2
> Huawei U8650 with Android 2.3.5
> Reporter: Unai Sarasola
> Assignee: Joe Bowser
> Labels: 1.7.0, android, camera, getPicture
> Original Estimate: 48h
> Remaining Estimate: 48h
>
> When I run the example code of Android in the emulator or in the phone, and I press Took a Picture, the Camera Intent is loaded and I can take the picture, but then, the App is reloaded and nothing happens.
> I can't see any picture. I think is a cordova's bug, because I have tried to do it by myself in a silly Application invoking to getPicture, and similar, and I can't get the photo.
--
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
[jira] [Resolved] (CB-855) Problems with the camera and getPicture
on Android
Posted by "Joe Bowser (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-855?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joe Bowser resolved CB-855.
---------------------------
Resolution: Cannot Reproduce
We can't reproduce this on our end. It sounds like you are killing applications as soon as you exit them. You should disable that setting on your developer devices, or increase the RAM required.
> Problems with the camera and getPicture on Android
> --------------------------------------------------
>
> Key: CB-855
> URL: https://issues.apache.org/jira/browse/CB-855
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android
> Affects Versions: 1.7.0
> Environment: Android Example code from Cordova 1.7.0
> Android Emulator 2.2
> Huawei U8650 with Android 2.3.5
> Reporter: Unai Sarasola
> Assignee: Joe Bowser
> Labels: 1.7.0, android, camera, getPicture
> Original Estimate: 48h
> Remaining Estimate: 48h
>
> When I run the example code of Android in the emulator or in the phone, and I press Took a Picture, the Camera Intent is loaded and I can take the picture, but then, the App is reloaded and nothing happens.
> I can't see any picture. I think is a cordova's bug, because I have tried to do it by myself in a silly Application invoking to getPicture, and similar, and I can't get the photo.
--
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
[jira] [Commented] (CB-855) Problems with the camera and getPicture
on Android
Posted by "Unai Sarasola (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-855?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13288590#comment-13288590 ]
Unai Sarasola commented on CB-855:
----------------------------------
I think there are problems with the memory management. I think when the Intent to the Camera is made in the Plugin, the Cordova Application is being kill by the Garbage recolector.
> Problems with the camera and getPicture on Android
> --------------------------------------------------
>
> Key: CB-855
> URL: https://issues.apache.org/jira/browse/CB-855
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android
> Affects Versions: 1.7.0
> Environment: Android Example code from Cordova 1.7.0
> Android Emulator 2.2
> Huawei U8650 with Android 2.3.5
> Reporter: Unai Sarasola
> Assignee: Joe Bowser
> Labels: 1.7.0, android, camera, getPicture
> Original Estimate: 48h
> Remaining Estimate: 48h
>
> When I run the example code of Android in the emulator or in the phone, and I press Took a Picture, the Camera Intent is loaded and I can take the picture, but then, the App is reloaded and nothing happens.
> I can't see any picture. I think is a cordova's bug, because I have tried to do it by myself in a silly Application invoking to getPicture, and similar, and I can't get the photo.
--
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