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
精彩评论