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);
cal.set(Calendar.HOUR,11);
cal.set(Calendar.MINUTE,17);
cal.set(Calendar.SECOND, 30);
cal.set(Calendar.MILLISECOND, 1000);
On Sat, Mar 12, 2011 at 5:17 AM, TreKing <[email protected]> wrote:
> On Thu, Mar 10, 2011 at 12:27 PM, Brad Stintson <[email protected]>wrote:
>
>> 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 variables you
> have there that we don't know the values of.
>
>
> -------------------------------------------------------------------------------------------------
> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
> transit tracking app for Android-powered devices
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en