![](/img/trans.png)
[英]How to set an Alarm Using an Intent Selecting the full date of the alarm (including day, month)
[英]How to call Alarm intent using CountDownTimer constructor?
我正在嘗試使用CountDownTimer設置警報。 我有毫秒的時間。 如何實現呢?
任何幫助表示贊賞,並在此先感謝...
CountDownTimer cntr_aCounter = new CountDownTimer(30000, 1000) {
public void onTick(long millisUntilFinished) {
}
public void onFinish() {
}};cntr_aCounter.start();
在這里,我有30秒的倒計時設置。 您可以通過這種方式繼續前進。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.