android-beginners  

Re: [android-beginners] Android sounds

Mark Murphy
Thu, 18 Mar 2010 08:22:33 -0700

Traveler wrote:
> Is there any example code that shows how to create beep sounds of
> variable tone and duration? Thanks for any advice

There is the ToneGenerator class:

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

You can find some places in the Android source code that uses it. Use
Google Code Search and search on:

package:android ToneGenerator

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

_Android Programming Tutorials_ Version 2.0 Available!

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en