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] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

