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

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 - Playing a notification sound

Playing a notification sound

Put your problem here if it does not fit any of the other categories.

Playing a notification sound

Postby joemarshalmathew » Sun Jan 03, 2010 10:01 am

I am new to android development :D . I tried to create an application, everything went smooth. The only problem i encountered was with a notification sound. I tried with Ringtone manager, MediaPlayer, NotificationManager etc nothing worked.
I tried to put an alert sound(alert.mp3) in the "raw" folder under "res" but the resource is not accessible in the "R.raw.alert". i just created a folder "raw" in the res and copied the audio file into it.

Can anyone help me to play a simple alert, i dont need any notification in the status bar or anything.
I just need a beep sound or any default system sound.


Thanks in advance.
joemarshalmathew
Freshman
Freshman
 
Posts: 9
Joined: Sun Jan 03, 2010 6:25 am
Location: Kochi,India

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: Google [Bot] and 14 guests