안드로이드 개발 질문/답변
(글 수 45,052)
안녕하세요 ringtone 관련해서 질문 드립니다.
<RingtonePreference
android:layout="?android:attr/preferenceLayoutChild"
android:key="preferences_alerts_ringtone"
android:title="@string/preferences_alerts_ringtone_title"
android:ringtoneType="notification"
android:defaultValue="content://settings/system/notification_sound" />
위에 색칠된 부분이 default ringtone 되는 부분인데
이부분을 제가 선택한 다른 .ogg 파일로 넣고 싶은데..
어떻게 하는지 잘 몰라서요..
그리고 settings/system/notification_sound
notification_sound 가 등록이 되었는데
다른소리를 message_sound 로 등록을 하고 싶은데
어떻게 하는지 알고 싶습니다.
고수님들의 답변을 부탁을 드립니다.
이상입니다.
감사합니다.^^
<RingtonePreference
android:layout="?android:attr/preferenceLayoutChild"
android:key="preferences_alerts_ringtone"
android:title="@string/preferences_alerts_ringtone_title"
android:ringtoneType="notification"
android:defaultValue="content://settings/system/notification_sound" />
위에 색칠된 부분이 default ringtone 되는 부분인데
이부분을 제가 선택한 다른 .ogg 파일로 넣고 싶은데..
어떻게 하는지 잘 몰라서요..
그리고 settings/system/notification_sound
notification_sound 가 등록이 되었는데
다른소리를 message_sound 로 등록을 하고 싶은데
어떻게 하는지 알고 싶습니다.
고수님들의 답변을 부탁을 드립니다.
이상입니다.
감사합니다.^^
message_sound는 따로 없지 않나요?