incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon MacDonald (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-1697) openDatabase of Cordova for Android uses the wrong directory separator
Date Mon, 22 Oct 2012 17:20:12 GMT
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

Mime
View raw message