2011/8/15 TreKing <[email protected]>

> On Mon, Aug 15, 2011 at 8:27 AM, Alaeddine Ghribi <
> [email protected]> wrote:
>
>> So the minimum value is half an hour(30 minutes)
>>
>
> I don't think AlarmManager is intended for prolonged periods of time (like
> days).
>
For now, i have to work it, then for the problem of a long period i'll find
a solution.

>
>
>> ( but can i make 1800000/30 to have 1 minute ? :\ )
>>
>
> I'm not sure what that means.
>
 INTERVAL_HALF_HOUR is a constant that has 1800000 as value. The idea was to
divise this value with 30 to have one minute.

>
>
>> And how i know that the brodcast receiver get called ?
>>
>
> Debug your code ? A LogCat message in the receiver at the very least.

I've put a simple Log at then end of repeating() function, that doesn't
shows, that's means that this function that trigger ALL doesn't executes.
I've called this func in OnCreate. Don't know what to do :\

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

Reply via email to