如何在截止日期设置闹钟按钮?

时间:2013-01-17 14:42:53

标签: android android-notifications android-alarms

我正在尝试建立记事本,我完成了所有。只是我想在日期选择器按钮上发出警报。我使用了日期选择按钮。因此,希望在截止日期设置警报,我们有通知弹出窗口。请从我需要开始的地方建议。感谢

    duedate = (Button)findViewById(R.id.duedate);

    duedatetext = (TextView)findViewById(R.id.duedatetext);

            case R.id.duedate:

            final Calendar duedate = Calendar.getInstance();
            year = duedate.get(Calendar.YEAR);
            month = duedate.get(Calendar.MONTH);
            day = duedate.get(Calendar.DAY_OF_MONTH);

            showDialog(DIALOG_DUE_DATE_ID);

我在列表视图中也在列表项单击布局中设置了日期文本。所以请帮我这样做。感谢。

0 个答案:

没有答案
相关问题