Varying vibration intensity: how does the VIBE app

2019-09-11 12:55发布

问题:

I understand that, given how vibration is achieved, the only way to vary the intensity would be a way to control the RPM of the motor. I can see the Vibrator Class does not allow for this, and yet, the VIBE app (see this video) appears to be achieving just that. On the video, at about 0:35, the "create your own vibe" is briefly shown. I tested it and, by god, it appears to be varying the intensity. Could it be that they are using the NDK for direct motor control?

回答1:

ViBe uses the Immersion Haptic SDK to control the device vibrations. Immersion themselves are using the Android NDK internally.