*Hi,

    1.  i need to send string (data) from one android device to another
android device using " bluetooth "

what i tried:
             SyncDatabase json=new SyncDatabase();
             JSONObject jsonObject= json.GeneratedJSON(HomeActivity.this,
profile_list.get(position).getId());

             Intent intent = new Intent();
             intent.setAction(Intent.ACTION_SEND);
             intent.setType("text/html");
             intent.putExtra(Intent.EXTRA_STREAM,
             Uri.decode(jsonObject.toString()));
             startActivity(intent);

it says(Error) :  unsupported format

Is the right way of sending data(String ) from one android device to
another android device ?


2. i need to listen Bluetooth received data that from my application so we
can check with the UUID.
   is it is possible.


*
-- 
Regards,

Perumal.N

-- 
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

Reply via email to