Opening a PDF file in Windows Phone

前端 未结 3 980
礼貌的吻别
礼貌的吻别 2021-01-14 09:56

I\'m developing an app for Windows Phone 7 and I\'m using a Phonegap template for it. Everything looks perfect, but now I’m stuck trying to open a PDF file in the browser. I

3条回答
  •  一向
    一向 (楼主)
    2021-01-14 10:21

    You cannot open pdf files from the isolated storage in the default reader for PDF files. If the file is online e.g. it has a URI for it, you can use WebBrowserTask to open it since that will download and open the file in Adobe Reader.

    On Windows Phone 8 you actually can open your own file in default file reader for that extension, but I am not sure how that will help you since you target PhoneGap and Windows Phone 7.

提交回复
热议问题