Vibrate On/Off

  • Thread starter Thread starter Roger Odermatt
  • Start date Start date
R

Roger Odermatt

Hello

How can switch on/off the vibrate function with the Compact Framework?

regards
Roger
 
Vibration is handled differently depending on whether the device is a
Smartphone or Pocket PC (and some other CE devices). On Smartphone you can
P/Invoke the Vibrate API (and related functions) which are documented in the
SDK - details here (http://www.peterfoot.net/FridayFunGoodVibrations.aspx)

On Pocket PC the vibration motor is accessed as an additional LED. Here you
would use the NLed APIs or the wrapper which is part of the OpenNETCF SDF.
Again some details on my blog -
http://www.peterfoot.net/VibrationAndPocketPCDevices.aspx

Peter
 
Back
Top