开发者

set an alarm to any date and time from datepicker dialog

I try to use datepicker to set the time, and I also built an alarm for that time I set, b开发者_JAVA百科ut the alarm always paly at current time instead of my set time, I don't know why, please help, thanks! here is my code:


You should remove this line:

alarmTime.setTimeInMillis(System.currentTimeMillis()); 

as it set the time of the calendar to current time.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜