Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-4719] Android: Implement "file" property on Titanium.Blob

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-11-05T13:54:31.000+0000
Affected Version/sRelease 1.7.1
Fix Version/sSprint 2011-32, Release 1.8.0
ComponentsAndroid
Labelsparity
ReporterMarshall Culpepper
AssigneeOpie Cyrus
Created2011-07-19T12:28:32.000+0000
Updated2011-11-05T13:54:31.000+0000

Description

We currently have a "nativePath" property on Titanium.Blob that returns the file's path as a file:// URL, but iOS also exposes a "path" property that returns the full path (without the URL prefix) that we need to match for parity. UPDATE: further discussion between iOS and Android teams decided that instead of a path property, we should instead expose a "file" property that returns the File proxy that represents the blob data or return null if no valid file was found.

Comments

  1. Opie Cyrus 2011-08-05

    Upon further discussion between iOS and Android team, this should instead be a file property and return a File proxy if a valid file is found backing up the blob or null if no valid file is found.
  2. Natalie Huynh 2011-08-26

    Tested android.filesystem with version=1.8.0 timestamp=08/26/11 14:21 githash=0e2031e on Emulator 2.1 and 3.2 Passed
  3. Don Thorp 2011-11-05

    Standardizing summary and labels.

JSON Source