Hi Imran,

Declare a global

UInt16 oldAutoOffTime;

When your application starts do

oldAutoOffTime = SysSetAutoOffTime(0);

(check the docs for SysSetAutoOffTime)

When your application ends do

SysSetAutoOffTime(oldAutoOffTime);

Regards,

On 15/01/07, imran baig <[EMAIL PROTECTED]> wrote:
>
> Hi All
>
> My Palm Application performs a session with a remote server. During the
> session Application shows updates on the Screen. Often Palm screen turns
> gray after sometime. Can I keep it on during a long session.
> -- For information on using the PalmSource Developer Forums, or to
> unsubscribe, please see http://www.palmos.com/dev/support/forums/

-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to