您的位置:首页 > 其它

Change the default Phone ringtone and notification ringtone

2010-01-06 10:29 549 查看
Recently I tried to use the software to change the default Phone ringtone and notification ringtone,with the

RingtoneManager.setActualDefaultRingtoneUri
(getContext(),
getRingtoneType(), ringtoneUri);but it made no result,so I saw the configuration file from platform/build/target/product/core.mk,and change the

PRODUCT_PROPERTY_OVERRIDES := /

ro.config.notification_sound=Pleasant_Ding.ogg /

ro.config.ringtone=LoveFlute.ogg

to be

PRODUCT_PROPERTY_OVERRIDES := /

ro.config.notification_sound=Bells.ogg /

ro.config.ringtone=Panio.ogg

,and then make the system ,flash the image to G1,it makes OK.

Attention:you must make sure that the
Bells.ogg and
Panio.ogg are on the phone.you can find the .ogg with the command : find ./ -name *.ogg or using the adb shell to find ,the steps are

# adb shell

# ls

# cd data

# cd data

# cd com.android.providers.media

# ls
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐