{ "id": "102322", "key": "TIMOB-11200", "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": "15498", "description": "2013 Sprint 12 API", "name": "2013 Sprint 12 API", "archived": true, "released": true, "releaseDate": "2013-06-17" }, { "id": "15110", "description": "2013 Sprint 12", "name": "2013 Sprint 12", "archived": true, "released": true, "releaseDate": "2013-06-17" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-08-13T23:34:04.000+0000", "created": "2012-09-27T21:26:57.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "exalture", "module_media", "qe-manualtest" ], "versions": [], "issuelinks": [], "assignee": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "updated": "2014-08-13T23:34: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": "Can't play an audio file from the applicationDataDirectory in android 2.x but it does work in android 4.x\r\nh4. Repo Steps \r\n1. Run the attached app.js in your project.\r\n2. Click the button \"Play a cricket sound\".\r\n3. In android 2.x. it doesn't play but in android 4.x it works.", "attachment": [ { "id": "32121", "filename": "app.js", "author": { "name": "nsharma", "key": "nsharma", "displayName": "Nikhil Sharma", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-09-27T21:26:57.000+0000", "size": 1234, "mimeType": "text/javascript" } ], "flagged": false, "summary": "Android: Can't play an audio file from the applicationDataDirectory in android 2.x but it works in android 4.x", "creator": { "name": "nsharma", "key": "nsharma", "displayName": "Nikhil Sharma", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "nsharma", "key": "nsharma", "displayName": "Nikhil Sharma", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Ti SDK 2.1.2.GA\r\nandroid 2.2\r\nLG Optimus V\r\nandroid 4.1.1\r\nAsus Nexus", "comment": { "comments": [ { "id": "228654", "author": { "name": "michael@webitstudios.com", "key": "michael@webitstudios.com", "displayName": "Michael DeGiovanni", "active": true, "timeZone": "Europe/Berlin" }, "body": "using ti 2.1.4 \r\ntesting on xperia S (android 4.0)\r\nno sound is played:\r\n\r\nDDMS shows \r\nawesomeplayer: setDataSource_l('data/data/.mp3'\r\nawesomeplayer: unexpected abortprepare. notify listener of error\r\n\r\nthan ti.sound : Issue while initialising\r\n", "updateAuthor": { "name": "michael@webitstudios.com", "key": "michael@webitstudios.com", "displayName": "Michael DeGiovanni", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-11-27T17:40:16.000+0000", "updated": "2012-11-27T17:40:16.000+0000" }, { "id": "230911", "author": { "name": "freddymx", "key": "freddymx", "displayName": "Freddy Montano", "active": true, "timeZone": "America/New_York" }, "body": "I am having the exact same issue. \r\nIs there a workaround/suggestion for this?\r\n", "updateAuthor": { "name": "freddymx", "key": "freddymx", "displayName": "Freddy Montano", "active": true, "timeZone": "America/New_York" }, "created": "2012-12-11T20:28:54.000+0000", "updated": "2012-12-11T20:28:54.000+0000" }, { "id": "230929", "author": { "name": "bitshftr", "key": "bitshftr", "displayName": "Shawn Lipscomb", "active": true, "timeZone": "America/New_York" }, "updateAuthor": { "name": "bitshftr", "key": "bitshftr", "displayName": "Shawn Lipscomb", "active": true, "timeZone": "America/New_York" }, "created": "2012-12-11T21:28:08.000+0000", "updated": "2012-12-11T21:28:08.000+0000" }, { "id": "256808", "author": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "body": "\r\nFor 4.0 and below, MediaPlayer uses the native player which requires files to have worldreadable access, workaround is to open an input stream to the file and give that to the player.\r\n\r\nhttps://github.com/appcelerator/titanium_mobile/pull/4368", "updateAuthor": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-06-08T11:14:51.000+0000", "updated": "2013-06-08T11:14:51.000+0000" }, { "id": "276454", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix. We can play the audio file on a 2.X device.\r\nThus closing.\r\n\r\nEnvironment:\r\nAppcel Studio : 3.2.0.201310230601\r\nTi SDK : 3.2.0.v20131022171645\r\nMac OSX : 10.8.5\r\nCLI - 3.2.0 with hash 72f7426b4ee6c2d2883c666d5b7e03906a16012f\r\nAndroid device running : 2.X", "updateAuthor": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-10-23T21:12:51.000+0000", "updated": "2013-10-23T21:12:51.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }