Heh yeah I was coming to the conclusion it might be some kind of Timer
setup for testing...

Thanks for the reply.


On Jan 29, 8:53 am, Robert Woodruff <[email protected]> wrote:
> I have not found a way to do it in the emulator. All the GPS/location
> testing I do on a real device. Sometimes I get in the car and drive around
> to get more real world situation. Of course what you quickly discover is how
> crummy the GPS works in a car (or in a mall) :-).
>
> If you are testing with cellular locations rather than GPS locations you may
> need to do alot more moving around as the cellular location system is not so
> granular as real GPS.
>
> You may want to rig up a little ticker inside your app to feed location
> updates to the app for bench testing. Just put a sting array of coordinates
> in the resource fork and use the Timer class to drive the coordinate
> reader/feeder. It will simulate OK. But for location stuff actually getting
> out and moving the device around has been important. It is alot of fun just
> you and the stupid android and a laptop on the front seat stopping in parks
> and parking lots to toy with Eclipse and DDMS.
>
> Now if Google could just arrange for these apps to sell better...
>
> On Thu, Jan 28, 2010 at 2:10 PM, julius <[email protected]> wrote:
> > Thanks for the reply. I'm really trying to respond to changes.
>
> > This is a good idea to kick things off, but I'd like to be able to
> > show changes so I can turn the GPS service on/off. Is there a way to
> > do fake this in the emulator?
>
> > Regards,
> > Julius.
>
> > On Jan 29, 2:50 am, WoodManEXP <[email protected]> wrote:
> > > Sure, simply hard code the test coordinate in your app at the point
> > > you would otherwise call the LocationManager to get the last known
> > > location. Not too elegant, but it has worked over here on many
> > > occasions...
>
> > > On Jan 27, 10:57 pm, julius <[email protected]> wrote:
>
> > > > Hi,
>
> > > > I have an application which uses the network as the location provider
> > > > (rather than GPS eg.), however I can't seem to figure out how to send
> > > > the emulator test coordinates. In DDMS I would usually send
> > > > coordinates in the Emulator Control tab.
>
> > > > Is there a place to simulate coordinates derived from the cell phone
> > > > network provider?
>
> > > > Thanks for any help.
>
> > > > (If I try to get the last known location I get:
> > > > java.lang.IllegalArgumentException: provider=network)
>
> > --
> > 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]<android-developers%[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