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 5E5EC9D15 for ; Mon, 6 Feb 2012 18:44:22 +0000 (UTC) Received: (qmail 96587 invoked by uid 500); 6 Feb 2012 18:44:22 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 96186 invoked by uid 500); 6 Feb 2012 18:44:21 -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 96176 invoked by uid 99); 6 Feb 2012 18:44: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:44: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:44:19 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 99FCDCC423 for ; Mon, 6 Feb 2012 18:43:59 +0000 (UTC) Date: Mon, 6 Feb 2012 18:43:59 +0000 (UTC) From: "John Reeves (Commented) (JIRA)" To: callback-dev@incubator.apache.org Message-ID: <122219943.2922.1328553839632.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=13201457#comment-13201457 ] John Reeves commented on CB-205: -------------------------------- This probably isn't the place to discuss the differences between DATA_URL and FILE_URI. But since I already started, I think the point is you should avoid ever using a base64 encoded version of your photos. I mean, what purpose does that serve? You can reference it by its FILE_URI to display it, and you can send it to the server with FileTransfer. If you were planning on doing some sort of image manipulation in your app, then I don't know what your options are, but they probably still don't include using a base64 encoded string of image data. If you still want to talk about this, I suggest heading over to #phonegap on irc.freenode.net. They've been pretty helpful for me. > 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