I’m making a simple reminder app on android.
I’ve got a date such as 27-06-2011 (DD-MM-YY) and I wish to create an alarm at this date (at 12:01AM).
I know this is possible, but how easy is it?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Easy answer from google :
If you need to use the date you mentionned, create a Time objet, set the fields using its constructor and use time.toMillis( false); to get the right paramter for the alarm manager.
Regards,
Stéphane