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 A2520D30D for ; Mon, 22 Oct 2012 17:20:12 +0000 (UTC) Received: (qmail 76926 invoked by uid 500); 22 Oct 2012 17:20:12 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 76866 invoked by uid 500); 22 Oct 2012 17:20:12 -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 76796 invoked by uid 99); 22 Oct 2012 17:20:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Oct 2012 17:20:12 +0000 Date: Mon, 22 Oct 2012 17:20:12 +0000 (UTC) From: "Simon MacDonald (JIRA)" To: callback-dev@incubator.apache.org Message-ID: <255167972.10526.1350926412241.JavaMail.jiratomcat@arcas> Subject: [jira] [Created] (CB-1697) openDatabase of Cordova for Android uses the wrong directory separator MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Simon MacDonald created CB-1697: ----------------------------------- Summary: openDatabase of Cordova for Android uses the wrong directory separator Key: CB-1697 URL: https://issues.apache.org/jira/browse/CB-1697 Project: Apache Cordova Issue Type: Bug Components: Android Affects Versions: 2.0.0, 2.1.0 Reporter: Simon MacDonald Assignee: Simon MacDonald Priority: Minor Fix For: 2.2.0 Hi, everybody. I found the minor bug in the Storage of Cordova for Android. Executing "window.openDatabase" function, the database file are created the following path: /data/data/(pkg-name)/app_database:(dababase_name).db Isn't the path better to be created the following path: /data/data/(pkg-name)/app_database/(dababase_name).db "File.pathSeparator" is used in Storage.java, but "File.separator" is better. Thank you. Minato, Takayuki -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira