Re: [android-developers] AlarmManager.RTC don´t work

2012-03-20 Thread Kostya Vasilyev
20 марта 2012 г. 16:32 пользователь BearTi написал: > > > I thought the parameter "RTC" ensures that the Alarm not beeing fired > when the device is in sleep mode (i turned the display off and the > device was 1 hour not turned on)... But nevertheless the service is > started... It's actually dif

[android-developers] AlarmManager.RTC don´t work

2012-03-20 Thread BearTi
Hi, I want to start a service for example every hour. I implement an AlarmManager: AlarmManager mgr =(AlarmManager)Main.this.getSystemService(Context.ALARM_SERVICE); Intent i = new Intent(this.getApplicationContext(), UpdateWidgetService.class); PendingIntent pi = PendingIntent.getService(this.ge