PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

looking for pocket pc socket/communication examples

I tried out this neat little app that lets you use your desktop mouse/keyboard to navigate a pocket pc, while its in the cradle. I noticed it was using ip addresses to talk to the pocket pc.

What Im looking for is:

An example on how to connect to the pocket pc (aka find its ip address)

Also looking for an example of how to write an app that sits in the background on the pda waiting for an event. Kinda like how pocket candy brings up the screensaver after x amount of idle time.

Basically what I want to do is write a small app that lets me soft reset or kill a process on the pda from my pc without having to tap around or lift it off the cradle, something that would save me some time while developing and testing apps on the pda.
I can recommend "Pocket PC Network Programming" by Steve Makofsky (ISBN: 0-321-13352-8).
Close, but I dont have the facilities to order the book. I did find they have source code available, but the code is uncommented and difficult to understand unless you know what your looking for.

I guess really the questions I have are:

How to discover devices ip from pc, or connect to device via activesync from pc

How to run an application that can sit in the background waiting for messages from the network, and act on them (like killing a process, soft reset, etc) regardless of what current application is running.

Does the author of TransCreative Remote Keyboard watch these threads? his application does almost exactly what I want.
I think RAPI could be useful to you, just put rapi on google and I think you'll find what you need. i.e. http://www.developer.com/ws/pc/article.php/3367561

MrMister wrote:I tried out this neat little app that lets you use your desktop mouse/keyboard to navigate a pocket pc, while its in the cradle. I noticed it was using ip addresses to talk to the pocket pc.

What Im looking for is:

An example on how to connect to the pocket pc (aka find its ip address)

Also looking for an example of how to write an app that sits in the background on the pda waiting for an event. Kinda like how pocket candy brings up the screensaver after x amount of idle time.

Basically what I want to do is write a small app that lets me soft reset or kill a process on the pda from my pc without having to tap around or lift it off the cradle, something that would save me some time while developing and testing apps on the pda.