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 <[email protected]> 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

