PDA

View Full Version : android vibration...



sensoong
08-11-2011, 01:45 AM
In order to ring vibrations from mobile phones to call the native What should I do?

public synchronized static void vibrate(int vibMS)
{
Vibrator v = (Vibrator) app.getSystemService(Context.VIBRATOR_SERVICE);
v.vibrate(vibMS);
}


virtual void Vibrate(){ if (!m_bVibrationDisabled) {LogMsg("Vibrate!");} };


Not implemented in native code, yet it? :sweatdrop: