IrDA question

  • Thread starter Thread starter Neil Kiser
  • Start date Start date
N

Neil Kiser

I am looking to build in 'beaming' capabilities into a new application
I am developing. I am in search, at the moment, for general,
conceptual, information on the model surrounding this.

I only just now came across an article that showed me I can make use
of this technology, up until then I was just assuming I could.

The question I have now is, how can I effect beaming when the target
PDA does not have the application running? (it's loaded, but the user
did not launch the app. The source PDA, of course, did load the app
and initiate the beam). I see this with Pocket Outlook, but since it
is a built-in app, perhaps it is always running, and therefore always
listening. Which brings up another question... If you have several
apps in memory that listen for signals, which one rules? Is it the
active app? What is the active flag?

This is a really deep subject I imagine, so if anyone know of a good
primer for this, I'd be happy with just a URL. I've just begun my
search for information on this feature and would appreciate any
guidance.

Thank you,
-Neil Kiser
 
There is a built in OBEX (Object Exchange) listener on Pocket PC 2002 and
upwards which deals with incoming items, this has support for outlook items
and generic files. It is possible to plugin additional handlers for your own
file types, however this is not possible in .NETCF since you must write a
component which exports functions which is not supported in the Compact
Framework. You could write this in native code using eVC++.

There is a topic in the Pocket PC SDK titled "Custom Service Extensions"
which gives more details.

Peter

--
Peter Foot
Windows Embedded MVP
www.inthehand.com | www.opennetcf.org

Do have an opinion on the effectiveness of Microsoft Windows Mobile and
Embedded newsgroups? Let us know!
https://www.windowsembeddedeval.com/community/newsgroups
 
I thought the example that I found was in .Net CF, but in order for
it to function, both PDAs had to have already launched the
application.

Do you mean to say that if I wanted to receive on a PDA that did not
have the application launched, that I would need to do this in eVC++?
Conversely, so long as I'm ok with having both PDAs launch the app
first, before beaming, that I could do it in .Net CF?

Thanks,
-Neil K.
 
Yes this is the case, if your app is running on both devices you can use
managed code, in fact there is a tutorial to do just that and send files
back and forward here:-
http://samples.gotdotnet.com/quickstart/CompactFramework/doc/irdafiletransfer.aspx

I was referring to writing a custom handler for the beam component which
would mean your device could receive your data type without the app already
running. The NETCF only solution is fine in most cases.

Peter

--
Peter Foot
Windows Embedded MVP
www.inthehand.com | www.opennetcf.org

Do have an opinion on the effectiveness of Microsoft Windows Mobile and
Embedded newsgroups? Let us know!
https://www.windowsembeddedeval.com/community/newsgroups
 
Back
Top