android bluetooth pairing and sending data

view story

http://stackoverflow.com – i want 9 toggle button and 2 seekbar. when i turn on 1st button it should send 11, when its off it sholud send 10 n like wise all button should send 20,30,40,50,60,70,80,90 in its off state n 21,31...... in its on state.and 8th and 9th button should be connected with seekbar 1 and 2 rspectively. when button is on then only it should send data of seekbar. and initially when application open its hold be ask for tun on bluetooth if its off. and then should automatic paired with the device named "ABCD" with key "1234"...plzzz help me out (HowTos)