Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - AudioManagaer 's setMode()

AudioManagaer 's setMode()

All your problems with Audio, Video and Images.

AudioManagaer 's setMode()

Postby kartik_trivedi » Wed Jul 08, 2009 9:45 am

AudioManager am=(AudioManager)getSystemService(AUDIO_SERVICE);
am.setSpeakerphoneOn(true);
am.setMode(AudioManager.MODE_IN_CALL);

//Log.e(tag, msg)
mMediaPlayer = MediaPlayer.create(this, R.raw.ek);
mMediaPlayer.start();

Hello,

I am receiving incoming call and i want to play the sound so i want
that the caller can listen it on other side. So i am using the
AudioManager's setMode(AudioManger.MODE_IN_CALL)

But yet it is not working as caller is not able to listen it. so can
some one tell me what is wrong in it ?
Sun Certified Java Developer
Forum Nokia Champion
kartik_trivedi
Developer
Developer
 
Posts: 28
Joined: Tue Jan 20, 2009 7:19 am

Top

Return to Multimedia Problems

Who is online

Users browsing this forum: No registered users and 7 guests