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 dialog.)

In Froyo, the ringtone plays in preview mode when selected. However, when the phone receives an incoming call, it is silent -- but not in the "silent mode" sense (i.e., the phone does not vibrate). If I change the ringtone, it plays during ringing.

Any magical clues?

More information .... I think it is the format ...

If I do a Unix "file" command, it shows two file types for my ringtones. Only one of the six work.

/Volumes/sd1/Ringtones/ringtone09.mp3:  Audio file with ID3 version 2.4.0, contains: MPEG ADTS, layer III, v2,  64 kbps, 22.05 kHz, JntStereo
/Volumes/sd1/Ringtones/ringtone02.mp3:  Audio file with ID3 version 2.4.0, contains: MPEG ADTS, layer III, v2,  64 kbps, 22.05 kHz, JntStereo
/Volumes/sd1/Ringtones/ringtone12.mp3:  Audio file with ID3 version 2.4.0, contains: MPEG ADTS, layer III, v2,  64 kbps, 22.05 kHz, JntStereo
/Volumes/sd1/Ringtones/ringtone44.mp3:  Audio file with ID3 version 2.4.0, contains: MPEG ADTS, layer III, v2,  64 kbps, 22.05 kHz, JntStereo
/Volumes/sd1/Ringtones/ringtone04.mp3:  Audio file with ID3 version 2.3.0, contains: MPEG ADTS, layer III, v1,  64 kbps, 44.1 kHz, Monaural
/Volumes/sd1/Ringtones/ringtone37.mp3:  MPEG ADTS, layer III, v1,  64 kbps, 44.1 kHz, Monaural

The last one that is MPEG ADTS, layer III, v1, 64 kbps, 44.1 kHz Monaural works! The JntStereo ones do not!

Another discovery today. All of the ringtones work as expected on Eclair once I switched to setting the Media Content Resolver instead of relying on the scan. The Froyo device still behaves as described above.

Answers


Convert your tracks' ID3 tags to an older version. Some people have had some success with ID3 2.3, but maybe you want to go back even further. Try EasyTAG to convert your ID3 tags.

Android Bug: Issue 1057: ID3 2.4.0 not supported


Need Your Help

Inheritance and Type Difference

java inheritance

I have an overall axisModel that is extended by subtypes of axes. The problem is that the abstract methods that this being implemented will be a date in one class and a double in the other. The only

How do I use a C# generated RSA public key in Android?

c# android .net encryption rsa

I want to ensure message privacy between an Android app and C# ASP.NET server, in a situation where HTTPS can't be assumed to be available.