This tutorial is about how to use the PdfRenderer API in android introduced in Lollipop, we are going to read from a pdf file stored in the assets folder , and render its pages in the imageview. Very basic and simple , if you want something more complex you have to deal with more complex code and surely external libraries, which we are not doing in this tutorial.
Source code : http://babblecase.com/2DHU
Tutorial about external storage(getCacheDir) : https://youtu.be/CQ8sM2Giqng
Tutorial about assets : https://youtu.be/A0HufeFDsFA
blog melardev.x10host.com
twitter http://twitter.com/melardev
blogger https://melardev.blogspot.com
instagram https://www.instagram.com/melar_dev/
Google+ https://plus.google.com/u/0/110174297675710954678
Comments
Post a Comment