You shouldn't necessarily be doing this in a service.  You should just
be using a locationlistener and a timer, why are you using a service?

kris

On Sat, Jan 28, 2012 at 6:58 PM, viks <[email protected]> wrote:
> Hi,
> My requirements are
> 1.When application starts it must fetch the user location (with GPS)
> 2.This location should be updated with specified time interval.
> 3.And at the UI side I have to show current location and continuously
> running timer.
> Currently,I created service,which provide me the location update and
> timer in current activity.
> So,Is there any way that I should be integrate both timer and location
> update in one service .
> and provide user
> 1.continuous timing
> 2.Periodic location update.
>
> --
> 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