Opening PDF with Android Intents

You must Login before you can answer or comment on any questions.

1 Answer

Hi Ronnie,

You can open pdf in webview in android using this code just place your remote PDF Url in url variable.

var finalUrl = 'http://docs.google.com/viewer?embedded=true&url='+ url ;
        var webView = Ti.UI.createWebView({
            left : 0,
            url : finalUrl,
            top : 10,
            width : 320,
            height : 350,
        });
win.add(webView);

Your Answer

Think you can help? Login to answer this question!