显示PDF格式的网页一个自己的活动里面呢? [英] Displaying PDF-Pages inside an own Activity?
问题描述
我正在寻找一种方式来显示我的活动内的PDF文件。我的计划是只显示某些网站和隐藏其他...所以我猜,这是不可能使用默认的PDF阅读器与startActivity。有什么可以在android系统的权利吗?也许一个框架,它提供了显示PDF文件的机会,活动里面呢?
I'm looking for a way to display a pdf-file inside my activity. My plan is to display only some of the sites and hide the others... So i guess, it is not possible to use default pdf-readers with startActivity. Is there anything possible in android right now? Maybe a framework, which gives the opportunity to display pdf files inside the activity?
感谢您!
推荐答案
像你需要的是Android / Java的PDF LIB听起来给我。看看DroidText:
Sounds to me like you need a android/java pdf lib. Have a look at DroidText:
的https://$c$c.google.com/p/droidtext/
它示例测试code可复制和粘贴。我没有测试它自己,但你可以找到这些已经在使用它的其他应用程序。
It has example test code which can be copied and pasted. I haven't tested it myself but you can find other apps which are already using it.
这篇关于显示PDF格式的网页一个自己的活动里面呢?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!