Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-1796] Android: Ti.Filesystem.tempDirectory unimplemented

GitHub Issuen/a
TypeBug
PriorityTrivial
StatusClosed
ResolutionDuplicate
Resolution Date2011-11-18T08:08:12.000+0000
Affected Version/sRelease 1.5.0
Fix Version/sRelease 1.8.0
ComponentsAndroid
Labelsn/a
ReporterBrion Vibber
AssigneeDon Thorp
Created2011-04-15T03:02:38.000+0000
Updated2011-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.

Comments

  1. Stephen Tramer 2011-04-15

    Assigning to Don for triage. Probably fixed by now.

  2. Hal Burgiss 2011-11-18

    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.
  3. Hal Burgiss 2011-11-18

    Sorry meant 1.7.5 !
  4. Don Thorp 2011-11-18

    Duplicates TIMOB-4215. Since it's already fixed with the newer ticket, closing this one as the duplicate. Normally the older ticket takes precedence.
  5. Hal Burgiss 2011-11-18

    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'.

JSON Source