{ "id": "62428", "key": "TIMOB-1796", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "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": [ { "id": "11331", "description": "", "name": "Release 1.8.0", "archived": true, "released": true, "releaseDate": "2011-10-31" } ], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2011-11-18T08:08:12.000+0000", "created": "2011-04-15T03:02:38.000+0000", "priority": { "name": "Trivial", "id": "5" }, "labels": [], "versions": [ { "id": "11225", "name": "Release 1.5.0", "archived": true, "released": true, "releaseDate": "2010-12-14" } ], "issuelinks": [ { "id": "13935", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "65762", "key": "TIMOB-4215", "fields": { "summary": "Android: Implement missing Titanium.Filesystem tempDirectory and applicationDirectory properties", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-11-18T08:39:04.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "{html}

Source:

\r\n
\r\nTi.API.info(\"Ti.Filesystem.tempDirectory: \" + Ti.Filesystem.tempDirectory);\r\n
\r\n

on iPhone it works and provides a directory:

\r\n
\r\n[INFO] Ti.Filesystem.tempDirectory: /var/folders/Xq/XqcckMqkHDupTyuJVRKakU+++TI/-Tmp-/\r\n
\r\n

on Android it's unimplemented:

\r\n
\r\n[INFO] [212,333] Ti.Filesystem.tempDirectory: null\r\n
\r\n

Assigning to StatusNet's support contact.

{html}", "attachment": [], "flagged": false, "summary": "Android: Ti.Filesystem.tempDirectory unimplemented", "creator": { "name": "brionvibber", "key": "brionvibber", "displayName": "Brion Vibber", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "brionvibber", "key": "brionvibber", "displayName": "Brion Vibber", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "126704", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Assigning to Don for triage. Probably fixed by now.

{html}", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:02:39.000+0000", "updated": "2011-04-15T03:02:39.000+0000" }, { "id": "173254", "author": { "name": "programming@dbswebsite.com", "key": "programming@dbswebsite.com", "displayName": "Hal Burgiss", "active": true, "timeZone": "America/Los_Angeles" }, "body": "alert(\"Ti.Filesystem.tempDirectory: \" + Ti.Filesystem.tempDirectory);\r\n\r\nProduces 'undefined' on Android 2.2 with current Titanium 1.7.6.v20111114104114 (and probably 1.7.7), tested on HTC Thunderbolt.", "updateAuthor": { "name": "programming@dbswebsite.com", "key": "programming@dbswebsite.com", "displayName": "Hal Burgiss", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-11-18T06:36:16.000+0000", "updated": "2011-11-18T06:36:16.000+0000" }, { "id": "173255", "author": { "name": "programming@dbswebsite.com", "key": "programming@dbswebsite.com", "displayName": "Hal Burgiss", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Sorry meant 1.7.5 !", "updateAuthor": { "name": "programming@dbswebsite.com", "key": "programming@dbswebsite.com", "displayName": "Hal Burgiss", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-11-18T06:36:47.000+0000", "updated": "2011-11-18T06:36:47.000+0000" }, { "id": "173261", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Duplicates TIMOB-4215. Since it's already fixed with the newer ticket, closing this one as the duplicate. Normally the older ticket takes precedence.", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-11-18T08:08:12.000+0000", "updated": "2011-11-18T08:08:12.000+0000" }, { "id": "173265", "author": { "name": "programming@dbswebsite.com", "key": "programming@dbswebsite.com", "displayName": "Hal Burgiss", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Perhaps it was fixed, but if so, I think its gone off the tracks again. I am using the most current build I can find, and the best I can do with what seems to be the correct syntax from API docs and kitchensink, is 'undefined'.", "updateAuthor": { "name": "programming@dbswebsite.com", "key": "programming@dbswebsite.com", "displayName": "Hal Burgiss", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-11-18T08:39:04.000+0000", "updated": "2011-11-18T08:39:04.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }