Avoid auto suspend in Pocket PC

  • Thread starter Thread starter A.Rocha
  • Start date Start date
A

A.Rocha

Hi,

I have an mobile Application that need read from GPS, but when the PDA auto suspend it can´t receive any data from gps, all connection are suspended.

There is any way to avoid that it hapen by code?
 
Jim Wilson did a nice How Do I video on the Windows Mobile developer site that describes how you can manage this sort of thing:
http://msdn.microsoft.com/en-us/windowsmobile/cc949112.aspx

There are also other videos in the series that deal with GPS. Here's the link to the entire series:
http://msdn.microsoft.com/en-us/windowsmobile/bb495180.aspx

--

Ginny Caughey
Device Application Development MVP


Hi,

I have an mobile Application that need read from GPS, but when the PDA auto suspend it can´t receive any data from gps, all connection are suspended.

There is any way to avoid that it hapen by code?
 
Try SystemIdleTimerReset function.

Korwin
Uzytkownik "A.Rocha" <[email protected]> napisal w wiadomosci Hi,

I have an mobile Application that need read from GPS, but when the PDA auto suspend it can´t receive any data from gps, all connection are suspended.

There is any way to avoid that it hapen by code?
 
I've just relised I've got the wrong call in my post! woops....will fix.

Thanks for the code A.Rocha.
--
Simon Hart
Visual Developer - Device Application Development MVP
http://www.simonrhart.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top