Android Question PageTurnView Library Sample crashing

u2005k

Member
Licensed User
Longtime User
Hi,

I am trying PageTunView library with demo program supplied with library.

Using version 1.3

1. I get compile error on following statement
Dim Ex As ExceptionEx

I commented entire section.

Now when I run it, I get run time error on Device (Unfortunately PageTurnView Demo has stopped)
Under log I get following...
java.lang.NullPointerException
at anywheresoftware.b4a.agraham.pageturnview.CurlViewWrapper.getBitmapCount(CurlViewWrapper.java:140)
at anywheresoftware.b4a.agraham.pageturnview.CurlView.updateBitmaps(CurlView.java:652)
at anywheresoftware.b4a.agraham.pageturnview.CurlView.onPageSizeChanged(CurlView.java:178)
at anywheresoftware.b4a.agraham.pageturnview.CurlRenderer.updatePageRects(CurlRenderer.java:235)
at anywheresoftware.b4a.agraham.pageturnview.CurlRenderer.onSurfaceChanged(CurlRenderer.java:135)
at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1505)
at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1240)

Please help...
U2005k
 

u2005k

Member
Licensed User
Longtime User
Thanks a lot Erel, all I did was to take Lib example that came with library and just tried it.
 
Upvote 0
Top