Speakerphone on/off and notification status bar

All your problems with Audio, Video and Images.

Speakerphone on/off and notification status bar

Postby gynoid » Fri Jun 04, 2010 8:21 am


I'm making an application to activate/desactive the speakerphone with this code :

Code: Select all
boolean enabled = true;
AudioManager amgr = (AudioManager)context.getSystemService(Context.AUDIO_SERVICE);

If I activate the speakerphone at the beginning of a call (incoming or outgoing), the speakerphone icon is displayed in the notification status bar. On the other hand, I activate the speakerphone during a call, the speakerphone icon isn't displayed.

Any idea to solve this trouble ?
Thanks !
Posts: 3
Joined: Tue Jan 19, 2010 12:12 pm


Return to Multimedia Problems

Who is online

Users browsing this forum: No registered users and 3 guests