Hi [re-post -- previous didn't appear]

I tried downloading

http://groups.google.com/group/android-developers/web/mock_provider.zip

but got a 404.  Has it moved somewhere else?

Thanks,
Ken

On Sep 9, 2:21 pm, "Justin (Google Employee)" <[EMAIL PROTECTED]> wrote:
> Thanks Stefan, for providing the additional route. I just included a
> trivial one and the hope is that users will input what ever route data
> source makes sense for them.
>
> In the future I might work on enhancing the program to include a set
> of routes to choose from and the ability to just specify different
> data sources like a URL, file path, or content provider.
>
> Cheers,
> Justin
> Android Team @ Google
>
> On Sep 3, 9:56 am, Stefan Handschuh <[EMAIL PROTECTED]> wrote:
>
> > I somehow improved Justins code.
>
> > Seehttp://pastebin.com/m1f06415f
>
> > It has now a New-York based journey (longer than before) and the
> > time-interval between each points can be set so that the update inveral
> > (set to 500ms) can be arbitraryly small (see line 177)
>
> > @Justin: if you like it, please include it in you zip-file
>
> > > I just posted some code 
> > > athttp://groups.google.com/group/android-developers/web/mock_provider.zip
> > > that implements a mock location provider. This runs entirely in the
> > > emulator, so it should work across all platforms. It allows you to
> > > specify a set of coordinates and will the just loop through them
> > > forever. This could easily be adapted to read data from a file, URL,
> > > etc. As Stefan points out 
> > > onhttp://groups.google.com/group/android-developers/browse_frm/thread/2...
> > > , its important to set the time value on the Location you pass to the
> > > location service. If a new Location has the same time value as the
> > > previous one the LocationManager received, the location won't be
> > > updated.
>
> > > You should be able to compile this, install it on the emulator, run
> > > it, and then see the location change in Maps application.
>
> > > Hopefully this puts it all together and resolves issues that many have
> > > been encountering.
>
> > > Cheers,
> > > Justin
> > > Android Team @ Google

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