This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

How can I get my current location with OSM in android device ?

0

Getting Current location and display it with OSM ?

asked 03 Oct '14, 08:42

AnasQuedan's gravatar image

AnasQuedan
11112
accept rate: 0%


One Answer:

1

Go to the openstreetmap.org website on your phone's browser and press this button:

Small picture showing the show my location button

Your phone's browser will ask you whether you want it to use your phone's GPS. Say "yes", and within a few seconds you'll see your current location on the map.

answered 03 Oct '14, 09:40

SomeoneElse's gravatar image

SomeoneElse ♦
36.9k71370866
accept rate: 16%

I dont ask about How can I do that using the website ... I meant in ADT ? how can i program it ?

(03 Oct '14, 09:47) AnasQuedan

Do you mean "Finding your phone's current location" in ADT or "displaying an OSM-based map centred on your current location"?

The first doesn't have anything to do with OSM and isn't really on-topic for here (the first question would be whether you want or need to do it via Google Play Services or not); the second might, but you'd need to give us more information about what you are actually trying to do.

(03 Oct '14, 10:10) SomeoneElse ♦

am trying to get my current location when I am being in university as its closed area so i can download it as tiles to worked in offline mode , then i can moved from current location to any faculty points using this app by drawing line in street which connect from that location to that point

(06 Oct '14, 23:53) AnasQuedan
2

Sorry - don't actually understand what you're saying there.

(07 Oct '14, 00:09) SomeoneElse ♦

Hello Anas, do you want an app that displays your current position on an OSM based map, and if you walk to another building of your campus then you want a GPX track to be recorded and displayed?

If yes, try OSMTracker or Osmand, both for your android devices. Or see OSM wiki for more apps.

(07 Oct '14, 17:24) stephan75

Source code available on GitHub .