Hi all
I have a library with variable declaration type android.os.Handler
How to use it in b4a?
for example.
Dim a As android.os.Handler ?!
in the library is (third-party library.jar and library.xml)
library.xml has
...........
<method>
<name>Init</name>
<returntype>void</returntype>
<parameter>
<name>context</name>
<type>android.content.Context</type>
</parameter>
<parameter>
<name>handler</name>
<type>android.os.Handler</type>
</parameter>
</method>
.............................
Dim handler As android.os.Handler
Init(context, handler )
handler should return values
SUCCESS
FAILED
CLOSED
Thanks for the advice
I have a library with variable declaration type android.os.Handler
How to use it in b4a?
for example.
Dim a As android.os.Handler ?!
in the library is (third-party library.jar and library.xml)
library.xml has
...........
<method>
<name>Init</name>
<returntype>void</returntype>
<parameter>
<name>context</name>
<type>android.content.Context</type>
</parameter>
<parameter>
<name>handler</name>
<type>android.os.Handler</type>
</parameter>
</method>
.............................
Dim handler As android.os.Handler
Init(context, handler )
handler should return values
SUCCESS
FAILED
CLOSED
Thanks for the advice
Last edited: