1

sl4a bluetooth chat

view story
linux-howto

http://stackoverflow.com – I need a bluetooth connection , between my computer and android telephone. But i don't know anything about bluetooth :( My computer must be server and two android telephone must connect to it (via bluetooth) as client. I installed sl4a to android telephones.I tried this code on androids , to connect my pc (ubuntu 12.04) import android import time droid = android.Android() droid.toggleBluetoothState(True) droid.dialogCreateAlert('Be a server?') droid.dialogSetPositiveButtonText('Yes') droid.dialogSetNegativeButtonText('No') droid.dialogShow() result = droid.dialogGetResponse() is_server = (HowTos)