私は5つのクラスをすべてコピーしてデータベースの名前を変更するだけですが、正常ではありません。誰かがこれのようなものを以前に持っていたかどうか聞いてみたい。Androids AlarmManagerはアラームを発生させない
私は新しいReminderManager(this)を呼び出します.setReminder(mRowId、mCalendar);
rowIDはフル(いくつかの番号)とmCalendar(私が持っている他のアプリのMcalendarの日付と比較して同じフォーマットです)と私はこれをすべて呼び出しますそれはcreateseすべき保留意図
public void setReminder(Long taskId, Calendar when)
{
Intent i= new Intent(mContext,OnAlarmReciver.class);
i.putExtra(DatabaseIN.KEY_ROWID,(long)taskId);
PendingIntent pi=PendingIntent.getBroadcast(mContext,0, i, PendingIntent.FLAG_ONE_SHOT);
mAlarmManager.set(AlarmManager.RTC_WAKEUP,when.getTimeInMillis(),pi);
}
after this nothing happens... can anyone help
本当に助けてくれてありがとう – Tony