我正在尝试写一个需要用户设置闹钟的应用程序。我尝试使用以下代码调用闹钟
Intent i = new Intent(AlarmClock.ACTION_SET_ALARM);
i.putExtra(AlarmClock.EXTRA_MESSAGE, "MMTS train to catch rush up ...");
i.putExtra(AlarmClock.EXTRA_HOUR, d.getHours());
i.putExtra(AlarmClock.EXTRA_MINUTES, d.getMinutes());
activity
我目前正在尝试在某个活动时弹出一张图片,例如,闹钟刚刚启动。当闹钟运行时,我想在闹钟常规时钟图片上弹出一张图片,但仍然允许用户关闭闹钟。到目前为止,我只能弹出一个透明的活动,它不会让你在背景中触摸任何东西。
would like to have the picture just appear for a few seconds and then disappear.
我正在开发一个闹钟应用程序,我使用AVAudioPlayer播放闹钟声音,当闹钟发出任何我不想通过audioPlayer /Ipad的音量键减少/增加audioPlayer声音时,我有一个滑块来调节Iphone/Ipad中的Iphone声音。
//to set the slider value as player sound in my app
player.volume =[[NSUserDefaults standardUserDefaults]floatForKey:@"Volume"];
谁能建议我如何使音量键显示不影响播放器的声音,当闹钟播放声音。
谢谢。