Android Question [SOLVED] PageTurnView Demo not running


Well-Known Member
Licensed User
Longtime User
I try to run the example as is but i get the error
--------- beginning of main
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.Integer.intValue()' on a null object reference
at anywheresoftware.b4a.agraham.pageturnview.CurlViewWrapper.getBitmapCount(
at anywheresoftware.b4a.agraham.pageturnview.CurlView.updateBitmaps(
at anywheresoftware.b4a.agraham.pageturnview.CurlView.onPageSizeChanged(
at anywheresoftware.b4a.agraham.pageturnview.CurlRenderer.updatePageRects(
at anywheresoftware.b4a.agraham.pageturnview.CurlRenderer.onSurfaceChanged(
at android.opengl.GLSurfaceView$GLThread.guardedRun(
at android.opengl.GLSurfaceView$
--------- beginning of crash
** Activity (main) Pause, UserClosed = true **
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **

I use B4A 9.50 and Android 7.1.2