Click here to Skip to main content
15,887,683 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Hi ,

I need to send pictures via bluetooth from my application on my desktop (Windows XP) to a mobile phone. Any idea how to do that? Can you give me some pointers and references where to begin? Is it possible to do it using the Windows bluetooth SDK?

Any help is appreciated.

Thanks.

Update:

Ok. I found this http://support.microsoft.com/kb/883259#81[^] . At the end of the page , there is a send / receive file option. I want to do pit programatically. Any guide to do it progrmatically?
Posted
Updated 8-Dec-10 17:48pm
v2
Comments
this_is_my_alias 12-Jan-11 9:42am    
I'm doing the same project as yours. What I have right now is just sending texts. I'm still trying to figure out how for images (specifically jpeg). If you ever got the solution, please share it with me. So will I on you if I get it first. Thanks.
csharpbd 30-Sep-12 8:45am    
Can you help us by giving your text sending solution?

1 solution

Bluetooth API - is a good idea
You can use next steps:
1. Enum available phone services with WSALookupServiceBegin, WSALookupServiceNext functions
2. Get OBEX File Transfer service address
3. Create bluetooth socket
4. Connect to the finded service address
5. Implement OBEX File Transfer protocol (Connect and Put commands - http://netwinder.osuosl.org/pub/netwinder/docs/nw/irda/IrOBEX12.pdf[^], http://dotcom.bluetoothsig.org/SiteCollectionDocuments/GOEP_SPEC_V12.pdf[^]) and send file through the socket
I can share own test project, but dont know how to attach it to the solution
 
Share this answer
 
v2
Comments
csharpbd 30-Sep-12 8:55am    
if you want to share your project with us go and submit your project as article under "articles" menu. then copy your article url and post it as your solution.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900