I\'m trying to establish a bluetooth connexion between a Samsung Galaxy S3 running with Android 4.0.3 and a RN 42 Bluetooth Chip, here is the model :
I used lot\'s
Your code seems correct, but as Radu said, the new Bluetooth behaviour si not that good.
I did have quite some troubles myself (with Android 4.1+) and finally used BlueTerm as basis for my app, since it is opensource and is working (at least for the connexion part).
You can find its sources here :
http://pymasde.es/blueterm/
I hope it can help you !
D