I have been using #if B4A for several years. Then yesterday I looked at the source code for B4XPageManager, and there @Erel sometimes uses xui.isB4A.
I wanted to allow for the slower speed of Android device so I used xui.isB4A for the first time. I like it. Thank you @Erel.
Note there is also xui.isB4J and xui.isB4i.
I wanted to allow for the slower speed of Android device so I used xui.isB4A for the first time. I like it. Thank you @Erel.
B4X:
If xui.IsB4A Then Sleep(5500) Else Sleep(4500)
Note there is also xui.isB4J and xui.isB4i.