btsocket stable connection

by Bwd » Fri, 05 Feb 2010 01:04:00 GMT


Sponsored Links
 Good day.
I was able to create a stable connection to the BT device.
To do this, I changed your code:
BluetoothSocket btsocket =
btdev.createRfcommSocketToServiceRecord(uuid);
btsocket.connect();

Upon:
int RFCOMM_CHANEL = 1; //SPP chanel
Method m = btdev.getClass().getMethod("createRfcommSocket", new
Class[] { int.class });
BluetoothSocket connection = (BluetoothSocket) m.invoke(btdev,
RFCOMM_CHANEL);
connection.connect();

And now the connection has been stable and not broken and you can read
and receive data by input and output streams.


--



Other Threads

1. Join here

pls join this group


2. Rom lagi rom lagi

Kemarin malem nyoba port pesulap ke hofo 307, wah hofo 307 ini ternyata tetap 
tidak mengganti identitas, tetap dikenal sebagai magic, biasa kan jadi hero.
 Blum coba lebih lanjut walau sudah sense ui seperti hero, karena nandroid 
restore lagi, setelah cek ternyata browsernya belum support flash seperti rom 
my hero dulu.

Saya tetapkan standard test gini, 
untuk Mengetahui browser support flash atau tidak buka web
http://www.helives.com/blog/media/a-4min-overview-of-the-book-of-jonah/

Atau

Www.338a.com

Kalau tidak jalan berarti browser not flash support.

Kemudian untuk test market sudh betul atau tidak, cek search di market : ebuddy
 Dan any web copy.

Kalau ngga ada berarti marketnya ngga lengkap.

Nah hofo 307, market bagus, tp browser tidak support flash.

Drizzy,  market jelek, browser juga tidak support flash.

Jadi rom apa yg baru , kencang dan support 2 standard diatas ya?


Salam,

Lucky Sebastian
-with SEVEN on Android-

--~--~---------~--~----~------------~-------~--~----~
Google Groups "Indonesian Android Community [id-android]" group.

To post to this group, send email to id-android@googlegroups.com

To request to subscribe to this group:

Click  

3. Android App Stores:

4. Problem showing name of GeoPoint

5. Red square on android map

6. Fw: SOLD WTS Sprint HTC Hero BNIBUnlocked...

7. Good active install rate?