i make a program that gonna receive data from other device but first i want to discover (like client) other bluetooth device (the address is defined before). Then after connected, i want to act like a server (which is waiting for the data to be transferred). I have disocovered the device, than succesfully connected to it ( I used and modified BTObexClient class on BTObex example from the SDK). I want to ask you guys, how can I wait the data , then catch it in my apss, and store in buffer programatically. I am using Obex and for your information, I want to receive an image data. Please guys help me on this....;
Lots of thanks