Hello @Erel, Hello the Others,
In this post : http://www.b4x.com/android/forum/threads/voice-recognition-via-bluetooth-headset.44629/#post-272597 I have noticed a way of coding I didn't know.
Especially those lines made my brain out of order :<
Do I well understand you can initiate an object with a reference to a sub ? Please, don't take me bad, I really wasn't aware about.
I will have to return to school but if someone has some info about, I would gladly learn. Many thanks as usual
In this post : http://www.b4x.com/android/forum/threads/voice-recognition-via-bluetooth-headset.44629/#post-272597 I have noticed a way of coding I didn't know.
Especially those lines made my brain out of order :<
B4X:
Dim adapter As JavaObject = BluetoothAdapter
...
Sub BluetoothAdapter As JavaObject
Do I well understand you can initiate an object with a reference to a sub ? Please, don't take me bad, I really wasn't aware about.
I will have to return to school but if someone has some info about, I would gladly learn. Many thanks as usual