OS Win Mobile 5 to 6.5 with latest .net if desired.
Simple C# app that can autostart on boot and remain in memory.
Capable of responding to global keyboard events for hardware buttons when:
1 The app is focused.
2 Not focused (running in the background)
3 When the device is locked.
App must not consume/sink the event, merely respond to it.
Once a particular key is pressed three times within 3 seconds the app should take a GPS fix and send it via SMS.
The app should:
Thread-out a worker thread to take the GPS fix and send the SMS.
Make the worker thread self contained so multiple workers can run concurrently.
Remain running permanently so it can respond to multiplekey sequence activations, spawning multiple worker threads as needed.