Beam file via Bluetooth

  • Thread starter Thread starter Mustafa Rabie
  • Start date Start date
M

Mustafa Rabie

How can i use the Beam application on pocketpc to beam file over bluetooth?
is there a way to do this or do u have to use OBEX and write my own code?

Thanks
Mustafa
 
There are a few options but behaviour varies depending on which Bluetooth
stack your device has (since Broadcom/Widcomm doesn't plug into the system
OBEX APIs).
The simplest method is to start \windows\beam.exe with your filename as an
argument and that will launch the standard beam dialog. You could decide you
want to do the operation programmatically, in which case this .NET library
will allow you to do it - www.32feet.net and includes a sample app for obex
beaming (again this is Microsoft stack equipped devices only).

Peter
 
thanks peter, how do i know if my device has the microsoft or the widcomm
stack? and what if i wrote an app using the 32feet.net .Net library and gave
it to someone that has the widcomm stack, the ap will break right?

thanks
 
We offer a simple BTSendFile.exe utility on our website for $30 that works
on the Widcomm stack. You just launch the exe from your program with some
command-line arguments (name of target device, name of local file). You can
read bytes-sent progress from the registry then test the exit code to see if
it worked. Launch it with a /search argument to just look for nearby
devices and report them into the registry.

--

Tim Johnson
High Point Software, Inc.
www.high-point.com
(503) 312-8625
 
Back
Top