Open a PDF from URL

前端 未结 1 1352
一向
一向 2021-01-14 09:36

I am a novice at android development. I have to show a PDF from a URL.

This is my current code but I\'m not able to show the PDF file:

public class T         


        
相关标签:
1条回答
  • 2021-01-14 10:14

    Its working fine here. Still let me suggest you to test whether you have added INTERNET permission in AndroidManifest.xml file or not:

    <uses-permission android:name="android.permission.INTERNET"></uses-permission>
    

    Update:

    The link you want to open is: http://litofinter.es.milfoil.arvixe.com/PDF/Book6.pdf

    Now its also working fine here:

    enter image description here

    0 讨论(0)
提交回复
热议问题