简体   繁体   中英

How to display documents like ppt, pdf in Android app without internet

I want to display PDF,PPT, EXCEL, WORD documents with in my application. The files are already stored in sdcard and I want to open these docs even if there is no internet connection.

I found many posts saying to use either Google docs or any pre installed app. I do not want these solutions, because it does not match my requirement. Because my doc should be opened in a custom layout within my application.

I tried with APV (AndroidPdfViewer) for showing pdf. But its Zoom functionality is not working properly. And I used OlivePhone's OfficeDemo for ppt and all. But its JAR files are of big size and I'm getting the error 'Conversion to Dalvik format failed with error 1 Solution?'.

Is there any working solution for these? Please help me.. Thanking you in advance....

No, there is no native API provided by android, you can use some third party APIs to read ppt,pdf and all.

some third party API's are:

Google Docs Viewer

officeSuite professional 6

You have to install any third party applications. Otherwise no way. Example QuickOffice , OfficeSuite and Document to Go

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM