-1

Hi I am developing an application in Android which playing Alarm. It can reset alarm after reboot phone . But there is a problem that, it is running alarm even if alarm is not set at all. Please help me.

Adrian
  • 6,013
  • 10
  • 47
  • 68
Balvinder Singh
  • 580
  • 6
  • 19

1 Answers1

0

You should check you if your 'if' statement is correct before your instruction is running, or if you don't have register 'ON_BOOT_RECEIVER' broadcast in your manifest.

Anothor solution is to debug your code with System.out.println() to check each variable state, or each step.