we are testing several frameworks right now and in order to decrease the time for switching the framework we have build an abstraction layer as two seperate libraries.
So there's currently our mainapp which references the abstraction layer and the radaee pdf implementation layer. This implementation layer references the com.radaee project from your sample project. Everything builds, but on start I get this error message:
Process: ******, PID: 7616
java.lang.UnsatisfiedLinkError: Native method not found: com.radaee.pdf.Global.loadStdFont:(ILjava/lang/String;)V
at com.radaee.pdf.Global.loadStdFont(Native Method)
First, I got a library not found error about searching for "rpdf". Since I realized that the *.so get renamed on build to libcom.radaee.so instead of keeping up the name "librpdf.so", I changed the line in Global.java:
This seems to work, but now it does not find the method loadStdFont. Hereby you'll find the architecture attached, for a better understanding. In order to be clear about this: If we need to buy the license for testing, this will not be our product then!^
Which development tool are you adopting?
Both Eclipse and AndroidStudio seems not changing .so file name (I've just opened an apk to double check my though).
May be you're adopting Xamarin or other tool.
found the solution or the actual problem: I don't know what the named files are coming from - But putting the *.so files into the actual applications libs folder has solved the issue. Now they are in the package. But I have another problem. When trying to edit the PDF with the sample view control.... I get an error toast saying "can't write or encrypted". What's wrong here?