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
Thanks theDesolatesoul. I always saw subs like functions and I am happy to understand they could be objects (now I'll have to study what I could do with that )