Look for a Bluetooth terminal app in the Play Store to test your sketch.
It is probably as broken as your app.