Create a on boot receiver and use it to start a service that schedules the alarm. Check out this link: thetekblog.com/?p=77.
I want the alarm to be scheduled right after the app is installed. – elevine Feb 3 at 17:34 @elevine: On first run of your app, also set up the alarm schedule. – CommonsWare Feb 3 at 17:54 @CommonsWare where in my app do you think I should do that?
Extend Application and do it in onCreate? – elevine Feb 3 at 17:57 @elevine: Possibly. You presumably have an activity in the launcher -- you could also do it there, saving you the hassle of a custom Application (if you're not using that for anything else).
– CommonsWare Feb 3 at 18:01 2 @elevine: "I want the alarm to be scheduled right after the app is installed. " -- fortunately, that is impossible. – CommonsWare Feb 3 at 18:01.
Do the scheduling from within a Service that is set to android:enabled=true within the manifest. " A service is enabled by default - but that doesn't mean anything would start it automatically. The only reason a service would be disabled in configuration is if you have some code somewhere that enables it programmatically.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.