> I am trying to create a library(shared or static) which uses OBEX
> (Exchange Manager?) to do the communication via bluetooth or IR.

I don't see any reason why you couldn't send (ExgPut) from a shared library,
but receiving is another story. The Exchange Manager uses launch codes to
communicate with recipients, so they must be applications.

You can use the lower level IR Library from a shared library. The same is
probably true for the Bluetooth library. You'd have to write your own OBEX
layer though - not easy.

A single database can publish both an application interface and a shared
library interface. The Host Transfer sample exchange library is such a
beast.

Another alternative would be to rely on your shared library's client (the
app that's using it) to forward the Exchange Manager launch codes to it.
This isn't a lot to ask. You might consider the same approach for a static
library.
--
Danny @ PalmSource

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to