, 내가 먼저 정기적으로 실행하고 주기적으로 호출을 설정 RingtoneManager
알람 관리기를 통해 하루 중 원하는 시간에 따라 기본 벨소리를 변경 할 AlarmService를 만들어이 문제를 접근 것 " RingToneChanger.class "이 같은 : RingToneChanger.class를 트리거 그런 다음 내
AlarmManager am=(AlarmManager)context.getSystemService(Context.ALARM_SERVICE);
Intent i = new Intent(context, Alarm.class);
PendingIntent pi = PendingIntent.getBroadcast(context, 0, i, 0);
am.setRepeating(AlarmManager.RTC_WAKEUP, System.currentTimeMillis(), 1000 * 60 * 10, pi); // Millisec * Second * Minute
이 벨소리는 다음과 같이 변경할 수 있습니다
,
희망이 있습니다. 그렇지 않으면 물어 보는 것을 주저하지 마십시오.