Location/Movement simulation on map


Last Updated:

  1. andrei.fifiita

    andrei.fifiita New Member This Topic's Starter

    Joined:
    Jun 30, 2009
    Messages:
    2
    Likes Received:
    0
    Hello, I'm trying to simulate movement on the MapView. For that I used the android shell and a program that connects to localhost:5554 and sends a message at a few hundred milliseconds with the following format: geo fix [coord1] [coord2]
    I tested by increasing the numbers coord1 and coord2 (floats) with values like 0.001f, 0.01f, 0.00001f but it seams that the emulator wont update My Location on map if the new location is very close to the old one (so i can't simulate movement)

    Is there any other way to simulate the coords of My Location ? (programatically for example)

    Thanks!
     

    Advertisement
  2. andrei.fifiita

    andrei.fifiita New Member This Topic's Starter

    Joined:
    Jun 30, 2009
    Messages:
    2
    Likes Received:
    0
    I also used LocationManager and requestLocationUpdates(LocationManager.GPS_PROVIDER, 1000, 100, listener) method sending the coords with locManager.setTestProviderLocation(LocationManager.GPS_PROVIDER, location) , but the method onLocationChanged() is called only once.

    Can anyone help?
     
  3. lindapret88

    lindapret88 New Member

    Joined:
    Jul 15, 2009
    Messages:
    1
    Likes Received:
    0
  4. Bancato

    Bancato New Member

    Joined:
    Aug 4, 2009
    Messages:
    1
    Likes Received:
    0

Share This Page

Loading...