{ "id": "83401", "key": "TIMOB-6465", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "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": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2014-03-07T00:12:12.000+0000", "created": "2011-12-05T15:54:46.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "parity" ], "versions": [ { "id": "12570", "name": "Release 1.7.5", "archived": true, "released": true, "releaseDate": "2011-11-02" }, { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" } ], "issuelinks": [], "assignee": { "name": "bijuexalture", "key": "bijuexalture", "displayName": "Biju pm", "active": true, "timeZone": "Asia/Kolkata" }, "updated": "2017-03-22T21:36:24.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": "In Android, the Titanium.Media.Sound.setPaused method is not found at runtime. This method is in the documentation.\r\nThis is not new, as it affects Android V8/Rhino in 1.8.0.1 and 1.7.5. Log and screen capture attached.\r\niOS is not affected.\r\nCould be a doc bug or functional bug.\r\n\r\nSteps to Reproduce:\r\n\r\n1. Run code, or check documentation: Titanium.Media.Sound.setPaused.\r\n\r\n{code}\r\nvar sound = Titanium.Media.createSound();\r\nsound.setPaused(true);\r\n{code}\r\n\r\nExpected Result:\r\n\r\nApp should run without runtime errors, or docs should not reference an unsupported method.\r\n\r\nActual Result:\r\n\r\nApp generates runtime error indicating \"Sound.setPaused\" method not found.", "attachment": [ { "id": "24469", "filename": "setPaused_capture.png", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-05T15:54:46.000+0000", "size": 67098, "mimeType": "image/png" }, { "id": "24468", "filename": "setPaused_log.txt", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-05T15:54:46.000+0000", "size": 11022, "mimeType": "text/plain" } ], "flagged": false, "summary": "Android: Titanium.Media.Sound - V8/Rhino - Sound.setPaused method not found at runtime", "creator": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "SDK: 1.8.0.1.v20111205011857, 1.7.5\r\nRuntimes: Android V8/Rhino\r\nStudio: 1.0.7.201112041107\r\nOS: OS X Lion\r\nDevices Tested: Nexus One 2.2.2, Droid3 2.3.4, Slate 3.1, Emulator 4.0", "comment": { "comments": [ { "id": "274773", "author": { "name": "bijuexalture", "key": "bijuexalture", "displayName": "Biju pm", "active": true, "timeZone": "Asia/Kolkata" }, "body": "In documentation Sound.setPaused method only On iOS and Tizen . consider this as new feature ?", "updateAuthor": { "name": "bijuexalture", "key": "bijuexalture", "displayName": "Biju pm", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-10-11T10:09:26.000+0000", "updated": "2013-10-11T10:50:17.000+0000" }, { "id": "274790", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "If docs are correct, now moved to feature. Thanks!", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-11T15:24:24.000+0000", "updated": "2013-10-11T15:24:24.000+0000" }, { "id": "276092", "author": { "name": "bijuexalture", "key": "bijuexalture", "displayName": "Biju pm", "active": true, "timeZone": "Asia/Kolkata" }, "body": "PR:-\r\nhttps://github.com/appcelerator/titanium_mobile/pull/4820", "updateAuthor": { "name": "bijuexalture", "key": "bijuexalture", "displayName": "Biju pm", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-10-22T06:21:41.000+0000", "updated": "2013-10-22T06:21:41.000+0000" }, { "id": "293161", "author": { "name": "bijuexalture", "key": "bijuexalture", "displayName": "Biju pm", "active": true, "timeZone": "Asia/Kolkata" }, "body": "TestCase\n\n{code}\n \nvar w = Ti.UI.createWindow({backgroundColor:'white'});\nvar b = Ti.UI.createButton({title:'Play' , left : 10});\nvar b1 = Ti.UI.createButton({title:'Pause' });\nvar b2 = Ti.UI.createButton({title:'UnPause' , right : 10});\nvar m = Ti.Media.createSound({\n url: 'music.aac',\n \n});\nb.addEventListener('click', function () {\n m.play();\n});\n\nb1.addEventListener('click', function () {\n m.setPaused(true);\n});\nb2.addEventListener('click', function () {\n m.setPaused(false);\n});\nw.add(b);\n\nw.add(b1);\nw.add(b2);\nw.open();\n{code}", "updateAuthor": { "name": "bijuexalture", "key": "bijuexalture", "displayName": "Biju pm", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2014-02-14T10:24:04.000+0000", "updated": "2014-02-14T10:24:04.000+0000" }, { "id": "293162", "author": { "name": "bijuexalture", "key": "bijuexalture", "displayName": "Biju pm", "active": true, "timeZone": "Asia/Kolkata" }, "body": "New PR :- \nhttps://github.com/appcelerator/titanium_mobile/pull/5354", "updateAuthor": { "name": "bijuexalture", "key": "bijuexalture", "displayName": "Biju pm", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2014-02-14T10:27:08.000+0000", "updated": "2014-02-14T10:27:08.000+0000" }, { "id": "296067", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "It's documented that 'paused' is read-only for Android. If you want to pause the sound, use 'pause' method.", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-03-07T00:11:59.000+0000", "updated": "2014-03-07T00:11:59.000+0000" }, { "id": "415018", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as \"Won't Fix\".", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-22T21:36:24.000+0000", "updated": "2017-03-22T21:36:24.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }