All i do is to send the location to the emulator as a gps tracked
location in one of the following ways:

Open DDMS from the Android SDK > Tools directory.
Go to emulator control

1)  Manually set your location

2) Save the location you want in google earth (Save point/location as)
as a kml file.
    Upload to the prompted browse dialog and send.

Hope this helps some1.

-Immanuel






On Jan 9, 8:06 pm, Miroslav Slobodnik <[email protected]>
wrote:
> Somebody know how to get it working?
>
> On Jan 7, 3:15 pm, Miroslav Slobodnik <[email protected]>
> wrote:
>
> > Hi,
> > yes I use Win XP SP3. Telnet way to seng goe command through geo fix
> > is working. So the problem is in language to get it work inEclipse?
>
> > On Jan 7, 11:19 am, Spinjev Giginsky <[email protected]>
> > wrote:
>
> > > Hi...
> > > I believe the problem is the DDMS ineclipse.
> > > Do you use windows XP? Than it is often written that your language
> > > settings there must be english.
>
> > > I got a result with telnet.
>
> > > C:\>telnet localhost 5554
> > > Android Console: type 'help' for a list of commands
> > > OK
> > > geo fix -82.411629 28.054553
> > > OK
>
> > > On 5 Jan., 13:54, Miroslav Slobodnik <[email protected]>
> > > wrote:
>
> > > > Hi,
> > > > I have problem withgpsrelated task. I registered location updates,
> > > > and then useEclipseview "Emulator Control" to sendGPSlocation, but
> > > > method onLocationChanged is never called. Method onStatusChanged is
> > > > called when I first click button "Send" inEclipse"Emulator Control".
> > > > I do not know why? Is there problem with some permission or something
> > > > like that?
>
> > > > My permissions:
>
> > > >         <uses-permission
> > > > android:name="android.permission.ACCESS_MOCK_LOCATION"></uses-
> > > > permission>
> > > >         <uses-permission
> > > > android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS"></
> > > > uses-permission>
> > > >         <uses-permission
> > > > android:name="android.permission.ACCESS_FINE_LOCATION"></uses-
> > > > permission>
> > > >         <uses-permission
> > > > android:name="android.permission.ACCESS_COARSE_LOCATION"></uses-
> > > > permission>
>
> > > > Code:
>
> > > > LocationManager locationManager = (LocationManager)getSystemService
> > > > (Context.LOCATION_SERVICE);
> > > >                                         
> > > > locationManager.requestLocationUpdates("gps", 0, 0, new
> > > > StartJourneyListener(journeyId));
>
> > > > inner class:
>
> > > > private class StartJourneyListener implements LocationListener{
> > > > ...
> > > >    public void onLocationChanged(Location location){
> > > >    }
> > > > ...
>
> > > > }
>
> > > > Thank you in advance for replies.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to