PC Review


Reply
Thread Tools Rate Thread

Avoid auto suspend in Pocket PC

 
 
A.Rocha
Guest
Posts: n/a
 
      8th Apr 2009
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?

--
Best regards,
A.Rocha
(Portugal)

 
Reply With Quote
 
 
 
 
Ginny Caughey MVP
Guest
Posts: n/a
 
      8th Apr 2009
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/wind.../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/wind.../bb495180.aspx

--

Ginny Caughey
Device Application Development MVP


"A.Rocha" <(E-Mail Removed)> wrote in message news:8617EB8B-D8AA-4B31-9DD6-(E-Mail Removed)...
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?

--
Best regards,
A.Rocha
(Portugal)

 
Reply With Quote
 
Simon Hart [MVP]
Guest
Posts: n/a
 
      11th Apr 2009
You can also prevent from the device from turining off. See here:
http://www.simonrhart.com/2007/06/pr...rning-off.html

Although this is only recomended for a small number of scenarios.
--
Simon Hart
Visual Developer - Device Application Development MVP
http://www.simonrhart.com


"A.Rocha" wrote:

> 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?
>
> --
> Best regards,
> A.Rocha
> (Portugal)
>

 
Reply With Quote
 
Korwin
Guest
Posts: n/a
 
      14th Apr 2009
Try SystemIdleTimerReset function.

Korwin
Uzytkownik "A.Rocha" <(E-Mail Removed)> napisal w wiadomosci news:8617EB8B-D8AA-4B31-9DD6-(E-Mail Removed)...
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?

--
Best regards,
A.Rocha
(Portugal)

 
Reply With Quote
 
Simon Hart [MVP]
Guest
Posts: n/a
 
      16th Apr 2009
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


"Simon Hart [MVP]" wrote:

> You can also prevent from the device from turining off. See here:
> http://www.simonrhart.com/2007/06/pr...rning-off.html
>
> Although this is only recomended for a small number of scenarios.
> --
> Simon Hart
> Visual Developer - Device Application Development MVP
> http://www.simonrhart.com
>
>
> "A.Rocha" wrote:
>
> > 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?
> >
> > --
> > Best regards,
> > A.Rocha
> > (Portugal)
> >

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
suspend auto increment Bill Johnson Microsoft Excel Misc 6 8th Feb 2008 06:26 PM
How to avoid auto.search.msn.com =?Utf-8?B?am9ldTIwMDRAaG90bWFpbC5jb20=?= Windows XP Internet Explorer 0 12th Oct 2006 12:53 AM
broadcasting registry changes -turn auto-suspend off keith Microsoft Dot NET Compact Framework 0 5th Apr 2005 06:34 PM
Windows xp auto suspend =?Utf-8?B?dWFsYXY4cg==?= Windows XP Help 2 9th Mar 2005 01:33 AM
Re: Avoid auto-format of phone numbers? Russ Valentine [MVP-Outlook] Microsoft Outlook Contacts 0 12th Aug 2003 11:32 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:34 PM.