Java Question Need help to write a wrapper for MuPDF


Active Member
Licensed User
Hi All,

I have all the Java classes of this library. I just want the pdf custom view to be wrapped to b4a.

I could not post the activity class below as it is huge. As per my understanding MuPDFCore contains the pdf details and MuPDFReaderView is the custom view where the pdf is shown. I am able to pass the path and retrieve the pdf file and set it in the MuPDFCore but i do not know how to add the MuPDFReaderView in B4A as custom view. I was able to run this project in Andriod Studio and it works. I am a beginner in Java.

Any suggestions is much appreciated.

I have attached the complete source code i extracted from the Git for your reference. You can get it here