{ "id": "93519", "key": "AC-2943", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2012-07-03T12:10:09.000+0000", "created": "2012-06-20T02:48:36.000+0000", "labels": [ "Android", "openUrl" ], "versions": [], "issuelinks": [ { "id": "33970", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "122799", "key": "AC-2474", "fields": { "summary": "Calling Ti.Platform.openURL throws Unknown Java Exception", "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" } }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "updated": "2016-03-08T07:47:56.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": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "When using Ti.Platform.openURL on Android (seen only on compiled-for-production apps, don't know for apps in dev), no matter if it's http://www.somewebsite.com or tel:01234566789 on Android an exception is thrown:\r\n\r\nRuntime Error\r\nMessage: Uncaught Error: Java Exception occured\r\nSource:\r\nc.addEventListener(\"click\", function(){ Ti.Platform.openUrl(\"h...\r\n\r\nIt's working again in 2.1.0, but in 2.1.0 there are some opacity issues, so not yet usable.", "attachment": [], "flagged": false, "summary": "Ti.Platform.openURL doesn't work on Android", "creator": { "name": "treike", "key": "treike", "displayName": "Tobias Reike", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "treike", "key": "treike", "displayName": "Tobias Reike", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Tested against Titanium Mobile SDK 2.0.2.GA and latest 2.0.3.v20120619143204", "comment": { "comments": [ { "id": "200944", "author": { "name": "anagesh", "key": "anagesh", "displayName": "Anirudh Nagesh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tobias,\r\n\r\nCould you please provide the code snippet you are using!? I recently tested this feature on Android and its working fine..\r\n\r\nRegards,\r\nAnirudh", "updateAuthor": { "name": "anagesh", "key": "anagesh", "displayName": "Anirudh Nagesh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-29T14:36:08.000+0000", "updated": "2012-06-29T14:36:08.000+0000" }, { "id": "201310", "author": { "name": "treike", "key": "treike", "displayName": "Tobias Reike", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tried it again with a clean app, this time not getting the error. Don't know why I did get this exception.\r\nSorry about that.", "updateAuthor": { "name": "treike", "key": "treike", "displayName": "Tobias Reike", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-03T02:29:56.000+0000", "updated": "2012-07-03T02:29:56.000+0000" }, { "id": "201372", "author": { "name": "anagesh", "key": "anagesh", "displayName": "Anirudh Nagesh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Feature working fine. ", "updateAuthor": { "name": "anagesh", "key": "anagesh", "displayName": "Anirudh Nagesh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-03T12:10:09.000+0000", "updated": "2012-07-03T12:10:09.000+0000" }, { "id": "232411", "author": { "name": "sourabh@volitionlabs.com", "key": "sourabh@volitionlabs.com", "displayName": "sourabh kaley", "active": true, "timeZone": "Asia/Kolkata" }, "body": "This works fine with android emulator but fails to perform on iPhone", "updateAuthor": { "name": "sourabh@volitionlabs.com", "key": "sourabh@volitionlabs.com", "displayName": "sourabh kaley", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2012-12-21T11:44:43.000+0000", "updated": "2012-12-21T11:44:43.000+0000" }, { "id": "286149", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "This is not reproducible anymore with latest 3.2.0GA release.\r\n\r\nh5. Testing Environment:\r\nMAC OS X 10.8.5\r\nAndroid SDK: 4.2.2\r\nTitanium SDK: 3.2.0.GA\r\nTitanium CLI Version: 3.2.0\r\n\r\nh5. Test Code\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n\t\ttitle : 'URL TEST',\r\n\t\tnavBarHidden : false\r\n\t});\r\n \r\n\t// Create a Button.\r\n\tvar go = Ti.UI.createButton({\r\n\t\ttitle : 'URL TEST',\r\n\t\theight : Ti.UI.SIZE,\r\n\t\twidth : Ti.UI.SIZE,\r\n\t\ttop : 10,\r\n \r\n\t});\r\n \r\n\t// Listen for click events.\r\n\tgo.addEventListener('click', function() {\r\n \r\n\t\tTi.Platform.openURL(\"http://www.google.com\");\r\n \r\n\t});\r\n \r\n\twin.add(go);\r\n\twin.open();\r\n\r\n{code}\r\n\r\nh5. Steps to Test:\r\n1. Create a sample project,\r\n2. Paste this code in app.js file.\r\n3. Run this with testing environment.\r\n4. Click on URL test button\r\n\r\n", "updateAuthor": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-12-29T07:07:31.000+0000", "updated": "2013-12-29T07:51:46.000+0000" }, { "id": "286150", "author": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing since it is not reproducible anymore.", "updateAuthor": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-12-29T07:52:08.000+0000", "updated": "2013-12-29T07:52:08.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }