Varying vibration intensity: how does the VIBE app do it?

僤鯓⒐⒋嵵緔 提交于 2019-12-11 15:39:23

问题


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.



来源:https://stackoverflow.com/questions/12884286/varying-vibration-intensity-how-does-the-vibe-app-do-it

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!