Hello,
I managed to make it work by switching my SDK setting to the other directory.
Now i don't get the above message, but when i connect my Samsung tablet and run the demo
application, i see the log below :
** Service (starter) Create **
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
ref imagesizes = (DatabaseReference)
https://test-93507.firebaseio.com
** Activity (main) Resume **
lib:Raising.. reference_oncancelled()
lib:Raising.. reference_oncancelled()
lib:Raising.. reference_oncancelled()
java.lang.Exception: Sub reference_oncancelled signature does not match expected signature.
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:171)
at anywheresoftware.b4a.BA$2.run(BA.java:328)
at android.os.Handler.handleCallback(Handler.java:615)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4921)
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:1038)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:805)
at dalvik.system.NativeStart.main(Native Method)
** Activity (main) Resume **
** Activity (main) Pause, UserClosed = false **
Main-Activity_Pause : App closed
...
...
...
This function is the like the example, not changed :
Sub Reference_onCancelled(errnum As Int,error As String)
Log($"ref_onCancelled(${errnum},${error})"$)
End Sub
I think that library has been updated or i am using the wrong example application :
RealtimeDatabaseEx.zip
Does anyone have any idea what is causing this ?
Thanks& regards,
Serdar