Maybe you have had similiar problems than I did, so I want to share this precious piece of information =]
I had to send files (OBEX push transfer) to a phone via Bluetooth using Windows XP SP2 Bluetooth stack. Nicely enough, XP SP2 provides thing called "Bluetooth File Transfer Wizard", also known as fsquirt.exe, which is a user friendly way to send files to a chosen phone. However, initiating the transfer with a specific filename proved to be a difficult task. fsquirt.exe ignores all command line parameters, because it uses more advanced drag'n'drop and send to -context menu support.
fsquirt.exe implements IDropTarget COM interface which allows finely tuned drag'n'drop information passing in Windows environment. I spent two days banging my head to a wall trying to simulate Send to context menu drag'n'drop event as instructed in the article: http://www.codeproject.com/shell/sendtomail.asp. All attemps just caused access violations in some untraceable location. Maybe some Windows API guru could have told me what was the problem, but I was kind of a rush and couldn't get help instantly.
Then my luck turned. I accidentally bumped to a free application "runmenu.exe" by Eluent software. http://www.eluent.com/runmenu.htm. It's made for calling Explorer's context and Send to menu items from .BAT files. I just added a process call:
and voila! Using an external helper exe is a kludgy solution, but works for now. If anyone can point me free Java Bluetooth library with OBEX and Microsoft Bluetooth stack support, I'd be grateful.
hi mikko, one more thing.. the code u specified sends the file to one phone only.. i want to send it to multiple reciptent can u help me out if u can plz...
Forum posts: 12
I am a newbie, didn't exactly comprehend the post: By this method you were able to send the file -> lines.txt to the phone?
Forum posts: 2
I am a newbie, didn't exactly comprehend the post: By this method you were able to send the file -> lines.txt to the phone?
Yes, I sent file c:\lines.txt, but you could place any file instead of it.
Forum posts: 12
Forum posts: 1
Forum posts: 212
"I only know that I know nothing." (Socrates)
Forum posts: 3
Thanks a lot for ur gr8 help dude..
Forum posts: 3