{ "id": "152393", "key": "TIMOB-19805", "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": [], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2017-05-02T20:41:42.000+0000", "created": "2015-10-27T21:08:19.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [], "issuelinks": [ { "id": "49905", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "151877", "key": "TIMOB-19692", "fields": { "summary": "KitchenSink: Make KitchenSink work for auto layout and refactor outdated methods", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } } ], "assignee": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "updated": "2017-05-02T20:41:42.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": [], "description": "var win = Titanium.UI.createWindow({\r\n\t\ttitle : \"test\"\r\n\t}),\r\n\t isIOS = Titanium.Platform.name === 'iPhone OS',\r\n\t isAndroid = Ti.Platform.name === 'android',\r\n\t isTizen = Ti.Platform.osname === 'tizen';\r\n\r\n\tvar timob7502fix = ((Ti.version >= '3.0.0') && (Titanium.Platform.name == 'iPhone OS'));\r\n\r\n\tvar url = \"http://www.archive.org/download/CelebrationWav/1.wav\";\r\n\r\n\t// On iOS, loading remote url takes time and blocks window opening.\r\n\t// Set the url after the window opens on iOS.\r\n\tvar sound = Titanium.Media.createSound({\r\n\t\turl : url\r\n\t});\r\n\r\n\t// Show Actvity Indicator when loading the remote url.\r\n\tvar actInd = Titanium.UI.createActivityIndicator({\r\n\t\tbottom : 10,\r\n\t\tstyle : Titanium.UI.ActivityIndicatorStyle.DARK,\r\n\t\tmessage : \"Loading URL ...\"\r\n\t});\r\n\r\n\twin.add(actInd);\r\n\tactInd.show();\r\n\r\n\twin.addEventListener('open', function() {\r\n\t\tactInd.hide();\r\n\t});\r\n\r\n\t//\r\n\t// PLAY\r\n\t//\r\n\tvar play = Titanium.UI.createButton({\r\n\t\ttitle : 'Play',\r\n\t\theight : 40,\r\n\t\twidth : 145,\r\n\t\tleft : 10,\r\n\t\ttop : 10\r\n\t});\r\n\tplay.addEventListener('click', function() {\r\n\t\tsound.play();\r\n\t});\r\nwin.add(play);\r\nwin.open();", "attachment": [], "flagged": false, "summary": "KitchenSink: Remote url , sound doesn't play on android. ", "creator": { "name": "apetkov", "key": "apetkov", "displayName": "Angel Petkov", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "apetkov", "key": "apetkov", "displayName": "Angel Petkov", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Appcelerator Studio 4.3.3.2 , SDK 5.2.0 ,CLI 5.0.3 ", "comment": { "comments": [ { "id": "373537", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "The issue is linked to be autolayout related. Since autolayout is iOS only, this might be independent from that.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2015-12-26T18:06:18.000+0000", "updated": "2015-12-26T18:06:18.000+0000" }, { "id": "418790", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Resolving ticket as Invalid as there is now a new version of Kitchen Sink available and we no longer support the version which relates to this ticket.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-05-02T20:41:42.000+0000", "updated": "2017-05-02T20:41:42.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }