[android-developers] Re: How to test the earpiece

2009-03-10 Thread cht

yes that works, thank you
but i have another question.

can i implements that the earpiece output what the mike receives.
that is i can here the voice what i said to the mike through the
earpiece.
this way i can test the mike and earpiece at the same time.

can you give me some directions?

thanks
cht

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: How to test the earpiece

2009-03-09 Thread Dave Sparks

If your app has the permission "MODIFY_AUDIO_SETTINGS" you can route
output to the earpiece using the setRouting API in AudioManager.

On Mar 9, 8:15 am, cht  wrote:
> for the OEM, on the product line,we need to test the earpiece whether
> it works well.
> so I want to write a application which will play sounds through the
> earpiece.
> i want to know how can i play a sound through the earpiece?
> or if there is a better way to test the earpiece?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---