Thank Megha.

The alarm.setTimeZone() works perfectively.

On Sep 9, 3:30 am, "Megha Joshi" <[EMAIL PROTECTED]> wrote:
> Also, the recommended way to change timezone is through Settings app, which
> not not included in the current sdk ..
> For now you can use the following:
>
> AlarmManager alarm = (AlarmManager) getSystemService(Context.ALARM_SERVICE);
> alarm.setTimeZone(timezone);
>
> It works with <uses-permission
> android:name="android.permission.SET_TIME_ZONE"></uses-permission>
>

--~--~---------~--~----~------------~-------~--~----~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to