Hi, Build bluetooth chat demo app from sdk & try connecting with that.
Regards On Apr 30, 4:43 pm, hüseyin toplu <hsy...@gmail.com> wrote: > i found my problem problem have server code > tmp = mAdapter.listenUsingRfcommWithServiceRecord(NAME_SECURE, > MY_UUID_SECURE); > } else { > tmp = mAdapter.listenUsingRfcommWithServiceRecord( > NAME_INSECURE, MY_UUID_INSECURE); > } > } catch (IOException e) {} > > Problem is uuid because I dont know other device uuid.i dont send file > to my application i wanna just send file over bluettooth to any device > > i chanced this code with this > m = mAdapter.getClass().getMethod("listenUsingRfcommOn", new Class[] > { int.class }); > tmp = (BluetoothServerSocket) > m.invoke(mAdapter, 1); > } catch (SecurityException e) { > > e.printStackTrace(); > } catch (Exception e) { > e.printStackTrace(); > } > it send java.lang.reflect.invocationtargetexception erorr please > help :S -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en