[ https://issues.apache.org/jira/browse/CB-205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13237284#comment-13237284 ]
Anis Kadri commented on CB-205:
I tried a slightly modified example below (without jQuery) on a Verizon Wireless Motorola Droid 3 and I could not reproduce the issue. I've tried about 20 times. I got confused as to why Cordova sends a content:// URI back but it was not actually causing problems. I believe the fact that the image might not be written yet when the Camera activity returns might cause the issue you're describing. However, I wasn't able to reproduce it.
> Droid 3 Camera Causes App Restart
> Key: CB-205
> URL: https://issues.apache.org/jira/browse/CB-205
> Project: Apache Callback
> Issue Type: Bug
> Components: Android
> Affects Versions: 1.3.0
> Environment: Phonegap Sample App
> Droid 3 with current updates (Android 2.3.4)
> Native (for droid 3) camera app.
> Reporter: John Reeves
> Assignee: Anis Kadri
> Priority: Minor
> Labels: camera, motoblur, restart
> # In the sample app, click the button to take a picture.
> # The camera app launches, take a picture, and tap done.
> # The sample app reappears but there is no indication that the picture was taken.
> I made a simple app to test this, which should simply alert the FILE_URI result, or alert something on error. Neither callbacks are hit, instead the app restarts. If you view the logcat, it shows a console.log() right before launching the camera, and the next log message after taking the picture shows a new PID and other logs related to the app starting.
> This happens in any app I have tried this with, even the simplest "take a picture and alert the path" app. It also happens with alternative camera apps. I've tried a couple of 3rd party camera apps with the same outcome.
> This might be related - They describe the exact behavior I see, but I tried using their modified phonegap.jar with no luck.
> Capture Image
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