Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/216.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android 默认铃声首选项为静音_Android_Android Preferences_Ringtone - Fatal编程技术网

Android 默认铃声首选项为静音

Android 默认铃声首选项为静音,android,android-preferences,ringtone,Android,Android Preferences,Ringtone,我在preferences.xml中有一个铃声首选项,当前默认为系统通知声音 我想将其默认为silent,但在查找silent声音的内容URI时遇到了问题 <RingtonePreference android:defaultValue="content://settings/system/notification_sound" android:key="@string/pref_alarm_tone_scan_notificatio

我在preferences.xml中有一个铃声首选项,当前默认为系统通知声音

我想将其默认为silent,但在查找silent声音的内容URI时遇到了问题

    <RingtonePreference
            android:defaultValue="content://settings/system/notification_sound"
            android:key="@string/pref_alarm_tone_scan_notification_sound"
            android:ringtoneType="notification"
            android:showDefault="true"
            android:showSilent="true"
            android:title="@string/pref_alarm_notification_sound_title" />

无声的声音是一根空弦

android:defaultValue=""

无声的声音是一根空弦

android:defaultValue=""

无声的声音是一根空弦

android:defaultValue=""

无声的声音是一根空弦

android:defaultValue=""

检查此链接是否是由于有人未调用setDefaultValues()而引起的。我实际上希望我的默认设置为静默(并在我的preferences.xml文件中应用其他默认设置。请检查此链接,因为有人没有调用setDefaultValues()。我实际上希望我的默认设置为静默(并应用my preferences.xml文件中的其他默认值。检查此链接是否是有人未调用setDefaultValues()的问题。我实际上希望我的默认值为静默(并应用my preferences.xml文件中的其他默认值。检查此链接是否是有人未调用setDefaultValues()的问题).I实际上希望我的默认设置为静默(并应用preferences.xml文件中的其他默认设置)。