In case of #4, the rest time for timer will be set.
ex) new rest time = get current time - saved remind time;
start timer for the rest time...

On 8월23일, 오전9시17분, optimusgeek <[email protected]> wrote:
> Yes... the reboot is problem... so I think I need a current time and
> remind time.
>
> 1. get current time -> this time should not be changed by user or
> location or anything else : absolute time??
> 2. save remind time as a sharedreference. ( ex. remind time = current
> time + 30minutes)
> 3. start timer
> 4. If the device reboot before remind time, the timer will be re-set
> based on the saved remind time.
>
> how about this? In this case, I need only current absolute time. Are
> there any methods for it??
> (I think the absolute time what I'm saying will be used for DRM
> check...)
>
> On 8월20일, 오후9시17분, String <[email protected]> wrote:
>
>
>
> > On Aug 20, 11:17 am, Filip Havlicek <[email protected]> wrote:
>
> > > I think he thought on device reboot. Although I'm not sure if 
> > > PendingIntents
> > > are stored before device powering off.
>
> > Alarms do not persist through a reboot, no. If the OP wants something
> > like that to happen, they'll need to set up a receiver for
> > Intent.ACTION_BOOT_COMPLETED, and re-set the alarm there.
>
> > String- 원본 텍스트 숨기기 -
>
> - 원본 텍스트 보기 -

-- 
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

Reply via email to