Dear All,
DonManfred asked me to create a new thread for this question, originally asked in https://www.b4x.com/android/forum/t...telegram-databaselibrary-tdlib.91640/#content so here we go:
I had a quick look at this project. I created an app_id and app_hash and added those into the example project. Also changed the phone number to the one used with my telegram account. These are the only things I changed.
But then when running it, I get:
He did however also tell me what had to be done:
should replace
Now I get no errors, just some data I need to look into how can be interpretated.
Was there any way I could´ve known about the updated signature? I just downloaded the files from
the other thread.
DonManfred asked me to create a new thread for this question, originally asked in https://www.b4x.com/android/forum/t...telegram-databaselibrary-tdlib.91640/#content so here we go:
I had a quick look at this project. I created an app_id and app_hash and added those into the example project. Also changed the phone number to the one used with my telegram account. These are the only things I changed.
But then when running it, I get:
B4X:
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
java.lang.Exception: Sub sdk_onresult signature does not match expected signature.
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:188)
at anywheresoftware.b4a.BA$2.run(BA.java:360)
at android.os.Handler.handleCallback(Handler.java:751)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6077)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:865)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)
He did however also tell me what had to be done:
B4X:
Sub SDK_onResult(tlo As Object, methodname As String)
should replace
B4X:
Sub SDK_onResult(tlo As Object)
Now I get no errors, just some data I need to look into how can be interpretated.
Was there any way I could´ve known about the updated signature? I just downloaded the files from
the other thread.