调用的AlarmAlert.java文件如下:
public class AlarmAlert extends Activity{        private AudioManager audioMa;
        @Override
     
        protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
/*******************************************************************************************************/
        audioMa=(AudioManager)getSystemService(Context.AUDIO_SERVICE);
        audioMa.setRingerMode(AudioManager.RINGER_MODE_NORMAL);
/*******************************************************************************************************/
        new AlertDialog.Builder(AlarmAlert.this).setTitle("闹钟响了").setMessage("起床啦").setPositiveButton("关闭",new DialogInterface.OnClickListener() {
public void onClick(DialogInterface dialog, int whichButton) {
AlarmAlert.this.finish();
}
}).show();
       
        
}}
到时间会跳出AlertDialog,但是没有铃声。我这个代码有什么问题吗?为什么?