[TIMOB-1796] Android: Ti.Filesystem.tempDirectory unimplemented
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Trivial |
| Status | Closed |
| Resolution | Duplicate |
| Resolution Date | 2011-11-18T08:08:12.000+0000 |
| Affected Version/s | Release 1.5.0 |
| Fix Version/s | Release 1.8.0 |
| Components | Android |
| Labels | n/a |
| Reporter | Brion Vibber |
| Assignee | Don Thorp |
| Created | 2011-04-15T03:02:38.000+0000 |
| Updated | 2011-11-18T08:39:04.000+0000 |
Description
Source:
Ti.API.info("Ti.Filesystem.tempDirectory: " + Ti.Filesystem.tempDirectory);
on iPhone it works and provides a directory:
[INFO] Ti.Filesystem.tempDirectory: /var/folders/Xq/XqcckMqkHDupTyuJVRKakU+++TI/-Tmp-/
on Android it's unimplemented:
[INFO] [212,333] Ti.Filesystem.tempDirectory: null
Assigning to StatusNet's support contact.
Assigning to Don for triage. Probably fixed by now.
alert("Ti.Filesystem.tempDirectory: " + Ti.Filesystem.tempDirectory); Produces 'undefined' on Android 2.2 with current Titanium 1.7.6.v20111114104114 (and probably 1.7.7), tested on HTC Thunderbolt.
Sorry meant 1.7.5 !
Duplicates TIMOB-4215. Since it's already fixed with the newer ticket, closing this one as the duplicate. Normally the older ticket takes precedence.
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'.