Click here to Skip to main content
15,851,701 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.



Ok. I found this[^] . 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?
Updated 8-Dec-10 18:48pm
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 -[^],[^]) 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
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