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 - get and play contact's ringtone

get and play contact's ringtone

All your problems with Audio, Video and Images.

get and play contact's ringtone

Postby SirMike » Tue Feb 08, 2011 10:26 pm

Can someone help me understand how I can retrieve and play a contact's ringtone?

I am able to list and select the contact, pull their name and image but am failing to find out a way to pull and play the ringtone associated with the contact. Any help on this would be greatly appreciated.

Thank You
SirMike
Once Poster
Once Poster
 
Posts: 1
Joined: Tue Feb 08, 2011 10:04 pm

Top

Re: get and play contact's ringtone

Postby Kerbik » Wed Feb 09, 2011 8:40 am

Hello,
it shouldn't be that hard....

i found command CUSTOM_RINGTONE by one minute of finding in google help docs.

I'm now in work so i can't try it and give you detail briefe how to use that right now but I'll take a closer look on that at home.

you have to get this into string to get uri for ringtone

ContactsContract.Contacts.CUSTOM_RINGTONE

here is link to docs where i found it

http://developer.android.com/reference/ ... lumns.html

I hope i helped you at least little,
Kerbik.
Kerbik
Developer
Developer
 
Posts: 30
Joined: Fri May 28, 2010 6:06 am

Top

Return to Multimedia Problems

Who is online

Users browsing this forum: No registered users and 4 guests