Re: [android-developers] Alarm Issue

2011-03-12 Thread Brad Stintson
My alarm is working. Thanks :) On Sat, Mar 12, 2011 at 11:19 AM, TreKing treking...@gmail.com wrote: On Fri, Mar 11, 2011 at 11:44 PM, Brad Stintson geek.bin...@gmail.comwrote: Here are the sample values. So what? That doesn't tell us much more. Try setting the timer to the current

Re: [android-developers] Alarm Issue

2011-03-11 Thread TreKing
On Thu, Mar 10, 2011 at 12:27 PM, Brad Stintson geek.bin...@gmail.comwrote: I am using following code for setting alarm at specified time but I'm not able to receive alarm at specified time. Please tell me where is the problem Use your debugger and logcat to verify the value of all the

Re: [android-developers] Alarm Issue

2011-03-11 Thread Brad Stintson
Here are the sample values. Calendar cal = Calendar.getInstance(); cal.setTimeInMillis(System.currentTimeMillis()); cal.clear(); cal.set(Calendar.YEAR, 2011); cal.set(Calendar.MONTH,2); cal.set(Calendar.DAY_OF_MONTH,11);

Re: [android-developers] Alarm Issue

2011-03-11 Thread TreKing
On Fri, Mar 11, 2011 at 11:44 PM, Brad Stintson geek.bin...@gmail.comwrote: Here are the sample values. So what? That doesn't tell us much more. Try setting the timer to the current system time + 1000 (1 second) and see if your broadcast gets triggered. If not, you got bigger problems.

[android-developers] Alarm Issue

2011-03-10 Thread Brad Stintson
Hii, I am using following code for setting alarm at specified time but I'm not able to receive alarm at specified time. Please tell me where is the problem Calendar cal = Calendar.getInstance(); cal.setTimeInMillis(System.currentTimeMillis()); cal.clear();

Re: [android-developers] Alarm Issue

2011-03-10 Thread Marcin Orlowski
On 10 March 2011 19:27, Brad Stintson geek.bin...@gmail.com wrote:           cal.setTimeInMillis(System.currentTimeMillis());           cal.clear(); These two does not make much sense in that order. -- Regards, Marcin Orlowski -- You received this message because you are subscribed to the

Re: [android-developers] Alarm Issue

2011-03-10 Thread Brad Stintson
I tried that but still it is not working. On Fri, Mar 11, 2011 at 12:04 AM, Marcin Orlowski webnet.andr...@gmail.comwrote: On 10 March 2011 19:27, Brad Stintson geek.bin...@gmail.com wrote: cal.setTimeInMillis(System.currentTimeMillis()); cal.clear(); These two does

[android-developers] Alarm issue.

2009-05-21 Thread Gavin
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. --~--~-~--~~~---~--~~