{ "id": "63547", "key": "TIMOB-2915", "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": "11239", "name": "Release 1.6.0 M06", "archived": true, "released": true, "releaseDate": "2011-01-24" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T02:00:26.000+0000", "created": "2011-04-15T03:32:49.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "android", "appdata", "defect", "release-1.6.0", "reported-1.6.0", "sdcard" ], "versions": [], "issuelinks": [], "assignee": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T02:00:26.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}

We need to query the system for it's external storage dir rather\nthan hard-coding \"/sdcard\". Some devices are using storage in a\ndifferent mount location.

{html}", "attachment": [], "flagged": false, "summary": "Android: /sdcard is hardcoded for appdata:// paths", "creator": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "129699", "author": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

(from [0db802484cf4abc6b3a473c228e8f527667c8597])\nsetData() and setType() are mutually exclusive in the Intent API,\nwe need to call setDataAndType() when both are supplied in the
\nIntent proxy. Use the system's external storage API instead of
\nhardcoding \"/sdcard\" [#2914 state:fixed-in-qa] [#2915\nstate:fixed-in-qa]
\n\nhttps://github.com/appcelerator/titanium_mobile/commit/0db802484cf4...

{html}", "updateAuthor": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:32:49.000+0000", "updated": "2011-04-15T03:32:49.000+0000" }, { "id": "129700", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Marshall. Do you have a test for this and/or devices you know\nhave it in a different location?

{html}", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:32:50.000+0000", "updated": "2011-04-15T03:32:50.000+0000" }, { "id": "129701", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

as per the good Mr Culpepper: \"you can just run the YQL test on\nthe Nexus S. if it crashes then you should see a message about\n/sdcard not being found. if not -- it should be verified (the Nexus\nS has it's external dir mounted at /mnt/sdcard)\"

\n

no crashes, test runs as expected. nexus s 2.3 and [INFO] Titanium SDK version: 1.6.0 (02/03/11\n09:22 a02f7db)

{html}", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:32:50.000+0000", "updated": "2011-04-15T03:32:50.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }