开发者

implement sound into shake?

开发者 https://www.devze.com 2023-02-06 18:57 出处:网络
I am guessing that it would be a shake listener of some开发者_开发百科 sort. but what I want to do is have the sound play when I shake the phone. could some one help? I know that there is a way I see

I am guessing that it would be a shake listener of some开发者_开发百科 sort. but what I want to do is have the sound play when I shake the phone. could some one help? I know that there is a way I see them all the time. Any help is GREATLY appreciated.


Simple, write a service to use device sensors data to figure out a shake. And if it does so, play a sound.

0

精彩评论

暂无评论...
验证码 换一张
取 消