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.