Didn't you have at the
B4R Example projects booklet ?
It contains several example projects with an HC-05 Bluetooth module instead of an HC-06 Bluetooth module, but i think that there is not much difference.
Yes Klaus, you are right when you say there'e no difference.. because since the Android device has the master Bluetooth, then both will work, because the HC-05 is initially in slave mode. That said, Long ago, I built that example.. my current project has a part that uses Bluetooth, when the Arduino sends a "1" to the Arduino through the Bluettoth, it will turn an LED ON for 100 Ms then turns it off automatically. (a 100 ms pulse). a "2" command will do the same but it turns another LED On and then off after 100ms. Another thing, I will hardode the Bluetooth MAC address, so there's no scan or discover or even Connect button. it will connect automatically on power-on. The only button is to send the "1" or "2"
Best regards, and thanks for the time -b