I programing a application to manage file in local and bluetooth device, 
that run in android. In the manager file with bluetooth device, I have to 
connect to bluetooth devices but do not know the code to retrieve the file 
and file management on the bluetooth device. I hope someone knows how to 
write code to manage files on your Bluetooth device and help me.
Code bluetooth connected devices:

mBtAdapter.cancelDiscovery();

 

*try* {
    mmSocket.connect();
} *catch* (IOException connectException) {
    *try* {
        mmSocket.close();
    } *catch* (IOException closeException) { }
    Toast.makeText(activity, "Unable to connect device", Toast.*LENGTH_SHORT
*).show();
    *return*;
}

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