[QTMOKO] GPS pedometer app up on github
Jim Morris
ml at e4net.com
Fri Sep 18 22:47:42 CEST 2009
ANT wrote:
> Jim Morris wrote:
>> I'll see how to stop the phone from suspending.
>
> Tips:
> #include <QtopiaApplication>
> QtopiaApplication::setPowerConstraint(QtopiaApplication::DisableSuspend);
> //prevent suspending
> QtopiaApplication::setPowerConstraint(QtopiaApplication::Enable); //restore
> power saving settings
Already done and checked in :)
--
Jim Morris, http://blog.wolfman.com
More information about the community
mailing list