开发者

How to play different frequeny sound in android?

HI,

I want to create a animal repeller application.I'm new bie to android.I want to play different 开发者_StackOverflow frequency sound to repel the animal,but I'm not clear how to play .please help me out .

Thanx in advance. Praween.


Your best bet is to use a ToneGenerator:

http://developer.android.com/reference/android/media/ToneGenerator.html

Allows you to create tones to you specific needs, includes controlls for frequency, length of tone, so on.

Read up on the class and find the best way to do what you want it to do.

Hope this helps

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜