ringtone

BlackBerry - read custom ringtone name from address book contact list?

Actually I am assigning custom ringtone with contact number in a custom database contact list. Now I am having problem with the reading to that contact list. If anyone having any idea about this problem pls pls help. UPDATE public void showAddressBook() { try { ContactList contactList = (ContactList) PIM.getInstance() ...

Setting Ringtone in Android

I have sounds files in my res/raw folder and i want to select a sound to set as a ringtone on the click of a button. Wonder how can i do that? ...

Android detect which ringtone is actually playing (Ringtone.isPlaying problem)

On Android, I'm having a problem trying to figure out which ringtone is actually playing (I'm not trying to detect the default ringtone, but the one actually playing as it may be different due to user setting a particular ringtone for a particular contact). I'm using the Ringtone.isPlaying() function as I cycle through (successfully) al...

Need a service that can create and host free ringtones

On a site we're building we need to serve up ringtones to users. Seeing as there are so many formats, I'm looking for a partner who would convert our uncompressed audio into all the different formats, host the ringtones, and provide an interface for users to get and install them. They would all be free ringtones and we would deeplink t...

Android: Looking for an easy way to play notification sounds in a loop manually

Hi there! I am fiddling around with a dialog that pops up and displays an alarm information. (I know, it has been documented that in Android it's "better" style to use notifications instead, but just like the alarm clock I want it to display a dialog on top of whatever you do to really get the users immediate attention - as the user expe...

Android - Ringtone wont stop playing

I currently start a Ringtone on Android and it plays fine. However when I try to stop the ringtone it doesn't stop or atleast doesn't stop straight away, it will keep in playing until it just plays out. Here is how I set up the Ringtone: int rm = audio_service.getRingerMode(); int vs = audio_service.getVibrateSetting(AudioManager.VIBR...

How can I set a ringtone for an individual contact on Android ?

How can I set a ringtone for an individual contact on Android ? I have found a way to set the default ringtone that applies to all contacts without an individual ringtone. But that is not what i'm trying to accomplish. I want the application to have a button "Apply ringtone to contact". When i click, I start an activityForResult displa...

Can I play more than one file as a ringtone in android app?

I want to play couple of files as one ringtone in android app, How can I do it? edit: without merge ...

How do I use this code to modify contact ringtone in android?

I found that with code/function I can change the contacts ringtone, but I couldn't find how to use it. Can someone help me, How do I do it? context.getContentResolver().update(contactUri, values, where, args); ContactsContract.Contacts.CUSTOM_RINGTONE One more question. when I call from one android simulator to another I don't hear th...

Can't update contact details in android using code

I'm trying to update/change contact ringtone using this code: ContentValues values = new ContentValues(); values.put(ContactsContract.Data.CUSTOM_RINGTONE, "D:/TempDownloads/BurpSounds/Alex.wav"); getContentResolver().update(ContactsContract.Contacts.CONTENT_URI, values , "DISPLAY_NAME = 'Ani'", null); I get the message: " the applic...

How to use a recorded sound as a ringtone

Hi, How is it possible to use a sound file (recorded by the App) as a ringtone? Can it be used in any other way out side of the Application as well? Thanks. ...

When I assign ringtone in android using code it won't paly it in a loop, why?

I use this code: ContentValues values = new ContentValues(); values.put(ContactsContract.Data.CUSTOM_RINGTONE, Environment.getExternalStorageDirectory().getPath() + "/ring.wav"); getContentResolver().update(ContactsContract.Contacts.CONTENT_URI, values , "DISPLAY_NAME = 'Ani'", null); It works great but it play only one time. How do I...

Set a OGG in raw folder as Ringtone/Notification?

Hi, I have some ogg audios in my raw folder and I'm trying to set one of them as a Ringtone (or Notification, Alarm... whatever). I've been looking at the source code of RingDroid and I can see how is this done using the ContentValues and MediaStore, but in all the examples I've seen, the audio files is in the SDCard. Is it possible t...

Android - application ringtone setting / refreshing

I have an application I wrote that saves sound files from the application to the /sdcard/media/audio/ringtone directory without issue. My question is, after I close my app, I go to the system setting for ringtone and the sound is not listed, but if I reboot my phone, the sound shows up in the system ringtone list. Is there a way to progr...

Setting Ringtone notification from SD card file

My goal is to set the users notification sound from a file that is stored onto the SD card from with in the application. I am using this code: if(path != null){ File k = new File(path, "moment.mp3"); ContentValues values = new ContentValues(); values.put(MediaStore.MediaColumns.DATA, k.getAbsolutePath()); values.put(Me...

Default ringtone on SD CARD: will not find audio

Hey guys, I've been trying to extend my phone profile app to be able to handle the phone's default ringtone. When setting my app to use the default ringtone with a system default one, it sets fine. When I try to set a default ringtone which is on /sdcard, the Uri goes in correctly, but when it comes to setting it, it only pulls out the...

ringtone website cms like zedge

I want to make a ringtones site with the functionalities of zedge.net, I think its made up of some cms, if there is a theme or extension, add ins etc that will make my life easy. I am a coder with skills in php, mysql, jquery, css and javascript. just that I dont have the time to write the code myself and test them all Even if not all ...

My custom ringtone previews but is silent during incoming call?

I have an MP3 file that I can play outside of Android and stored on the sdcard. I did the call to MediaScannerConnection.scanFile(mContext, ... so it has been discovered. In Froyo, the ringtone shows up in the **Sound -> Phone ringtone** list. In Eclair it does not list (I expected it in the User add ringtones ...

How to set Ringtone in android?

Hi all, I think this is weird question , but i do not have any clue to solve it . I want to set ringtone from my code , butt i cannot set it. I saw this questions .. http://stackoverflow.com/questions/1986756/setting-ringtone-in-android and http://stackoverflow.com/questions/1986756/setting-ringtone-in-android I use this code . ...

Playing a Ringtone for a certain time period.

I want to play a ringtone selected from the RingtonePreference in a Service for a limited period of time (5 secs, for instance). What is the best way to do it? And is there a way to fade out the ringtone's volume when the ringtone is about to finish its playback within the allocated time? ...