From callback-dev-return-1982-apmail-incubator-callback-dev-archive=incubator.apache.org@incubator.apache.org Mon Feb 6 18:20:22 2012 Return-Path: X-Original-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EE4AE9616 for ; Mon, 6 Feb 2012 18:20:22 +0000 (UTC) Received: (qmail 20965 invoked by uid 500); 6 Feb 2012 18:20:22 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 20394 invoked by uid 500); 6 Feb 2012 18:20:22 -0000 Mailing-List: contact callback-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-dev@incubator.apache.org Received: (qmail 20216 invoked by uid 99); 6 Feb 2012 18:20:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Feb 2012 18:20:21 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Feb 2012 18:20:20 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id F0259CCA4E for ; Mon, 6 Feb 2012 18:19:59 +0000 (UTC) Date: Mon, 6 Feb 2012 18:19:59 +0000 (UTC) From: "Alan Neveu (Commented) (JIRA)" To: callback-dev@incubator.apache.org Message-ID: <482474046.2881.1328552399985.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1801778959.8085.1327945570271.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CB-205) Droid 3 Camera Causes App Restart MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13201442#comment-13201442 ] Alan Neveu commented on CB-205: ------------------------------- How is this any different from using DATA_URL? If I have to read the file bytes and base64 encode anyway, there should be no difference whether I get the same result using DATA_URL or FILE_URI. Unless there is something more under the API level that I am not aware of. Can you enlighten me? Are you saying that using FILE_URI will work across all Android devices, even the Moto Droid3, which is demonstrated to cause the app to restart when using DATA_URL? Any insights you can give on this will save me and other many other developers endless grief. Many thanks! > 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 > Labels: camera, motoblur, restart > Fix For: 1.6.0 > > > # 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. > https://groups.google.com/group/phonegap/browse_thread/thread/185c2fd8eb6270ac/db973ebc78d6b4b6?lnk=gst&q=%22droid+3%22#db973ebc78d6b4b6 > {code:title=index.html} > > > > Capture Image > > > > > >
> > > {code} -- 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