{ "id": "87177", "key": "TIMOB-7851", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": null, "resolutiondate": null, "created": "2012-02-29T13:29:39.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [], "issuelinks": [], "assignee": null, "updated": "2018-03-06T18:58:00.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "If possible, expose a method similar to iOS that allows a user to get the path of where the database file is being stored.\r\n\r\nFor example on iOS if I use the following code\r\n{code}\r\nvar d = Ti.Database.open('testdb.db');\r\nvar f = d.file;\r\nalert(f.path);\r\n{code}\r\n\r\nI will get the path to where the db file has been stored on the filesystem.", "attachment": [], "flagged": false, "summary": "Android: Database - Expose a method for accessing the path of where the database file is stored.", "creator": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Android", "comment": { "comments": [ { "id": "256123", "author": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "body": "In TiDatabaseProxy.java:\n{code}\n\t@Kroll.getProperty\n\t@Kroll.method\n\tpublic TiFileProxy getFile() {\n\t\treturn new TiFileProxy(TiFileFactory.createTitaniumFile(db.getPath(), false));\n\t}{code}", "updateAuthor": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "created": "2013-06-05T15:22:41.000+0000", "updated": "2013-06-05T15:22:41.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }