[ https://issues.apache.org/jira/browse/CB-1697?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Simon MacDonald resolved CB-1697. --------------------------------- Resolution: Fixed We check to see if the DB file is in the wrong spot. If it is we move it to the correct one. > 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