thanks. well try it.

From: Szymon Ulatowski <[EMAIL PROTECTED]>
Reply-To: "Palm Developer Forum" <[email protected]>
To: "Palm Developer Forum" <[email protected]>
Subject: Re: How to stop the vibrator on the Treo?
Date: Wed, 21 Feb 2007 16:00:41 +0100 (CET)

On Tue, 20 Feb 2007, danny wong wrote:

> I'm trying to stop the vibrate with the following and it is not working
>
>            UInt16 uintIndicatorState = kIndicatorStateNull;
>
>            HsIndicatorState(0,kIndicatorTypeVibrator,&uintIndicatorState);
>
> any hint?


this code works for me:

// start
UInt16 state = kIndicatorAlertAlert;
HsIndicatorState (1, kIndicatorTypeVibrator, &state);


// stop
UInt16 state = kIndicatorAlertNone;
HsIndicatorState (1, kIndicatorTypeVibrator, &state);



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

_________________________________________________________________
Buy what you want when you want it on Sympatico / MSN Shopping http://shopping.sympatico.msn.ca/content/shp/?ctId=2,ptnrid=176,ptnrdata=081805


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

Reply via email to