Vibrate On/Off

R

Roger Odermatt

Hello

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

regards
Roger
 
P

Peter Foot [MVP]

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top