{ "id": "138280", "key": "AC-831", "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": "11", "description": "Is not a bug in our product", "name": "Not Our Bug" }, "resolutiondate": "2014-10-21T21:49:01.000+0000", "created": "2014-10-20T11:31:31.000+0000", "labels": [ "android" ], "versions": [], "issuelinks": [], "assignee": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "updated": "2016-03-08T07:37:06.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": "Hi there,i am trying to know is there any way we can open external urls inside our web view remote content in android because i am unable to do so for the last couple of hours.i have a PDF document embedded inside my web view remote content i am unable to view the doc in the web view or even web browser.", "attachment": [], "flagged": false, "summary": "Web-view not opening external URLS embedded inside web view content on android", "creator": { "name": "arslansohail7", "key": "arslansohail7", "displayName": "ARSLAN", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "arslansohail7", "key": "arslansohail7", "displayName": "ARSLAN", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "328747", "author": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "body": "Hi,\r\n\r\nPlease have a look the Android Platform Implementation Notes section of this doc [http://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.WebView], If the problem still exist, please comment on this ticket again. \r\n\r\nHope this will help you.\r\n\r\nRegards,\r\nShuo", "updateAuthor": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "created": "2014-10-21T04:02:00.000+0000", "updated": "2014-10-21T04:02:00.000+0000" }, { "id": "328752", "author": { "name": "arslansohail7", "key": "arslansohail7", "displayName": "ARSLAN", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi Shuo Liang thanks a lot for a quick response.I have read the whole documentation of Web View,but it seems to provide no luck, if i open the url using Titanium.Platform.openURL it seems to work fine,but if i use Ti.UI.webView The external link inside the web view url doesn't get opened,i have a opt out policy page inside it is a link to download the pdf document of the opt out policy,i need to open this page inside webview not in the browser (Titanium.Platform.openURL).let me know if you still needs more clarification.", "updateAuthor": { "name": "arslansohail7", "key": "arslansohail7", "displayName": "ARSLAN", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-10-21T04:25:22.000+0000", "updated": "2014-10-21T04:25:22.000+0000" }, { "id": "328753", "author": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "body": "Would you please provide the url of the pdf you had tested. thanks", "updateAuthor": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "created": "2014-10-21T04:28:15.000+0000", "updated": "2014-10-21T04:28:15.000+0000" }, { "id": "328754", "author": { "name": "arslansohail7", "key": "arslansohail7", "displayName": "ARSLAN", "active": true, "timeZone": "America/Los_Angeles" }, "body": "this is the original url of the page: https://www.getdeetz.com/opt-out/?req_source=mob ,\r\nand there is a download opt out from here link in this page,whose url is mentioned below:\r\nhttps://getdeetz.com/wp-content/uploads/2014/06/Get-Deetz-Opt-Out-Form.pdf\r\n", "updateAuthor": { "name": "arslansohail7", "key": "arslansohail7", "displayName": "ARSLAN", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-10-21T04:33:42.000+0000", "updated": "2014-10-21T04:33:42.000+0000" }, { "id": "328904", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "Hello!\r\n\r\nThere is no way to open the PDF inside the webview. Android doesn't work like that. You either use an intent to open an external PDF reader or your create a native android module that offers the capability to read PDF inside the app. \r\n\r\nPlease read this answer in order to learn how to open the intent for PDF from your app. \r\n\r\nhttp://developer.appcelerator.com/question/72361/open-pdf-file-on-android\r\n\r\nBest Regards,\r\nMauro ", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2014-10-21T21:49:01.000+0000", "updated": "2014-10-21T21:49:01.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }