扩展功能,来控制另一个手机震动

这个像发信息,区别就是这个要锁了屏或是暗屏时,按音量加或音量减 键,

来控制另一个手机震动,这个问题想了几个月了,想请教一下,有那路大神知道,代码怎么写吗?

Hello Zhan Haiwan
You can't easily do it with App Inventor because Android Background Services would be required and AI2 does not support them. There is an extension you could try, but you have another problem in terms of how to re-purpose the volume button (that might be a bigger problem!).

All-in-all, you probably have a better chance of success if you build your App in Android Studio using Java or Kotlin.

Another possibility is Basic For Android (B4A).

这么说只能在Android Studio中和B4a中才可以开发这样的功能 了,头都搞大了,花了几个月,没搞出这样的功能