Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-25277

get the exact PDF url from Titanium WebView API


    • Type: Story
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Release 7.5.0
    • Component/s: Android
    • Labels:
    • Story Points:
    • Sprint:
      2017 Sprint 19 SDK, 2017 Sprint 20 SDK, 2017 Sprint 21 SDK, 2017 Sprint 22 SDK, 2017 Sprint 23 SDK, 2017 Sprint 24 SDK, 2017 Sprint 25 SDK, 2017 Sprint 26 SDK, 2018 Sprint 01 SDK, 2018 Sprint 02 SDK, 2018 Sprint 03 SDK



      Costumer is attempting to load a pdf for android using intents with webview.
      in the mobile app they are using webview control for displaying the remote web site by binding a URL. The web pages in the web site contains few pdf links. On click of normal hyperlinks, respective web page is being shown in the web view. Whereas, on tapping a pdf links, a blank window is getting opened in Android devices. In iOS it’s working fine and a PDF is showing.

      Per Jira WebView cannot disply PDF documents on Android. So they are using intents as a workaround to open the PDF link. The issue is that on click of the pdf link in the web view, they are unable to get the exact PDF url with any of Titanium WebView API methods or events

      The customer was able to do it natively and open the PDF's with intents.


      The customer wants to know how to get the exact PDF link using the webview API or if there is a workaround they could use.

      additional information

      attached are two apps. One is a titanium app and one is an android native application.
      titanium app


        1. app.js
          0.8 kB
        2. app (1).js
          0.8 kB
        3. MyApplication_Android.zip
          925 kB

          Issue Links



              • Assignee:
                gmathews Gary Mathews
                vvazquezmontero Victor Vazquez Montero
                Joshua Quick
              • Watchers:
                0 Start watching this issue


                • Created:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    Sync status:
                    Last received:
                    Last sent:

                    Git Integration