Is there any way to send a file using the android bluetooth API using OBEX?
I need to send a file to a printer that supports OBEX OPP only.
I can send the fi
There are no public APIs for accessing OBEX. On why there are no APIs - Google knows best :)
i think there is support in Android for OPP.There is a path in android/packages/apps/Bluetooth/...../opp/*.java
If your version doesnot have this, i found a useful link that will help to use OBEX OPP in android. Android framework modification is needed here.
http://i-miss-erin.blogspot.in/2009/10/how-to-have-obex-function-in-android.html
I've written a sample application to test the answer provided. Unfortunately it doesn't work for me, so I think this question is not completely answered.
Someone said that it works fine in some Samsung phones, but not work in other Samsung phones. Then I used "BluetoothShare" to write a simple test program, and ask my friends to borrow me phone to test...
Therefore, I think that some phones are not compatible with these BluetoothShare codes...