我目前正在开发一个Android应用程序,允许人们阅读宪法,问题是我只能设法获得软拷贝pdf文档。理想情况下,我想要一个允许我通过主题,问题或段落获取文档的API,我想到了多种方法来完成工作
1. Is by putting the document on the server, when user opens the app it downloads the pdf and allows them to read it(Problem with this is I won't be able to mess with the content like bold some text etc).
2. Is copying the content of the pdf into the databse and just fetching the text with a query(issue with this is I wont be able to do pagination given I put the content in one field)
这是Constitution的链接我需要一种方法,我可以通过这种方式从数据库加载数据,我可以分页,一次加载一个段落或主题。任何处于类似情况的人都可以帮助我找到最好的方法。