I'm making an application that consists of the first page that will be a list of books. When you click on a picture book users will be able to flip through, something like a free sample. I was planning to do with Intent.So when someone clicks on a book picture, using the click listener and intent opens a new java class with PDF file. It displayed using PDF VIewer. But although I have no run-time error, on the phone throws an error that my application is stopped.
Every time an application crashes, the full stack trace is posted to the logcat - that includes the line number where the crash happened: Post the full stack trace here. The logcat should always be your first stop when trying to diagnose an app crash.
Also, is there any particular reason you're using an outdated version of the PDF library?
I'm not sure if I approve of this interruption. But this tiny ad checks out: