Change the default Phone ringtone and notification ringtone
来源:互联网 发布:淘宝上两个号会黑吗? 编辑:程序博客网 时间:2024/05/21 10:37
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
- Change the default Phone ringtone and notification ringtone
- add Ringtone at phone ringtone
- ringtone分析(一)
- ringtone分析(二)
- Ringtone 循环播放铃声
- #Android N Ringtone总结
- Mobiclip video ringtone和Vringo video ringtone的比较
- Android Ringtone 自定义铃声介绍
- 去掉声音设置中的Ringtone
- Aiseesoft iPhone Ringtone Maker v6.2.8-Lz0
- Ringtone,SoundPool,MediaPlayer之声音播放- Android
- Android Makefile之默认Ringtone显示None
- Reminder: Change Magento`s default phone numbers and callouts before site launch
- Android系统之路(初识MTK) ------ make update-api长按Power键添加Reboot项/内置默认Ringtone/SMS/Notification/Alarm删除系统铃声
- MATLAB R2016b Change the default font size in the command window and .m files
- Android中Ringtone播放详解【安卓源码解析五】
- Android中Ringtone播放详解【安卓源码解析####】
- Android中Ringtone播放详解【安卓源码解析五】
- Java操作Excel
- 主动生活
- Windows核心编程 (1)
- 遇到的问题
- CFReadStreamCopyProperty() returns NULL?
- Change the default Phone ringtone and notification ringtone
- Windows核心编程 (2)
- 利用windows计划任务定时调用BAT执行oracle数据库重建索引
- Linux设备驱动开发概述
- 用VC++修改注册表----让我们踏出第一步(适合初学者)
- Windows核心编程 (3)
- VC6.0打开文件,出现“MSDEV.EXE-应用程序错误 遇到问题需要关闭
- 软件设计本质论——白话面向对象
- Windows核心编程 (4)