[android-developers] Re: Alarm issue.

2009-05-21 Thread Gavin

  I need every alarm  have different interval time and start time.

On May 21, 4:30 pm, Gavin fjm...@gmail.com wrote:
 Hi, all

   I want to know how many alarms can be set in one application?
 what is the length for every interval time  that I can set?
  I need many alarms and at least 1 month interval time in my
 application. it is possible?
  Thanks.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Alarm issue.

2009-05-21 Thread Mark Murphy

   I need every alarm  have different interval time and start time.

AlarmManager can handle that.

   I want to know how many alarms can be set in one application?

How much memory do you have?

  I need many alarms and at least 1 month interval time in my
 application.

No you don't.

You need one periodic alarm for every 24 hours. You then need zero or more
other alarms to cover the specific events that need to fire at specific
times within the current day.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!



--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Alarm issue.

2009-05-21 Thread Gavin

great.

On May 21, 4:51 pm, Mark Murphy mmur...@commonsware.com wrote:
I need every alarm  have different interval time and start time.

 AlarmManager can handle that.

I want to know how many alarms can be set in one application?

 How much memory do you have?

   I need many alarms and at least 1 month interval time in my
  application.

 No you don't.

 You need one periodic alarm for every 24 hours. You then need zero or more
 other alarms to cover the specific events that need to fire at specific
 times within the current day.

 --
 Mark Murphy (a Commons Guy)http://commonsware.com
 _The Busy Coder's Guide to Android Development_ Version 2.0 Available!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---