nobody is not know anything about that :S On Apr 30, 11:17 am, hüseyin toplu <[email protected]> wrote: > i checked it but its peer to peer connection but i wanna just send a > file to any device this device will not have my application it will > just took the file > > On Apr 30, 10:51 am, gjs <[email protected]> wrote: > > > > > > > > > Hi, > > > Build bluetooth chat demo app from sdk & try connecting with that. > > > Regards > > > On Apr 30, 4:43 pm, hüseyin toplu <[email protected]> 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

