Go to PDFReader.onDraw and remove/comment the following part:

ActivityManager mgr = (ActivityManager)getContext().getSystemService(Context.ACTIVITY_SERVICE);
ActivityManager.MemoryInfo info = new ActivityManager.MemoryInfo();
Paint paint = new Paint();
paint.setARGB(255, 255, 0, 0);
canvas.drawText( "AvialMem:" + info.availMem/(1024*1024) + " M", 20, 150, paint);

What you're experiencing is a fault of Android emulator.

It's a really slow and poorly optimized piece of software.

When you run a native library, even if you can provide if for x86 platform, the emulator translate the ARM version into x86 code.


A good suggestion, not only to adopt our library, is to run debugging application on real devices.

Another way should be the adoption o a virtualized x86 Android environment: in that case will be adopted the x86 native library.

Order history

Login to handle your order history.