Dim
lc AsLicenseChecker
lc.Initialize("lc", p.GetDeviceId, publicKey, "kljdflkf".GetBytes("UTF8"))
lc.SetVariableAndValue("test1", "test license")
lc.CheckAccess
Erel,
seems to have problems in rapid debug with licensing library :
line 195 is : lc.checkAccess
Thx and bravo for this new release
** Activity (main) Create, isFirst = true **
unexpected error.
Error occurred on line: 195 (main)
mainafterFirstLayout (java line: 98)
java.lang.RuntimeException: java.lang.NoSuchFieldException: _test1
at com.android.vending.licensing.ServerManagedPolicy.allowAccess(SourceFile:275)
at com.android.vending.licensing.LicenseChecker.checkAccess(SourceFile:133)
at anywheresoftware.b4a.objects.LicenseCheckerWrapper.CheckAccess(SourceFile:60)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at anywheresoftware.b4a.shell.Shell.runVoidMethod(Shell.java:520)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:235)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:174)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:93)
at pim_gss_ics.com.main.afterFirstLayout(main.java:98)
at pim_gss_ics.com.main.access$100(main.java:16)
at pim_gss_ics.com.main$WaitForLayout.run(main.java:76)
at android.os.Handler.handleCallback(Handler.java:725)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5293)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1102)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:869)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.NoSuchFieldException: _test1
at java.lang.Class.getDeclaredField(Class.java:631)
at com.android.vending.licensing.ServerManagedPolicy.allowAccess(SourceFile:269)
... 22 more