I can't get the AlarmManager to work. I tried to make it as a separate project but it shows a lot of errors. What I did basically was to create a "AlarmRecieverActivity.java" and a "MainActivity.java" class, and then put the code in them. In res/layout I created the "alarm.xml" and the "main.xml" and pasted the "right" code in them aswell. I am getting errors from all things except from the alarm.xml.
Can you see any obvious mistakes I have done? Would be grateful if you helped me with this!