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

How to use OSM api to work in Android App ?

0

I am beginner trying to use osm api. Are there any resources/documentation which give tutorial about how to implement osm api in android. I have been through osmdroid but find difficult to understand. Are there any other resources. I want to display the information depending upon the point on the POI.

Has someone done any project and can you share me the code ?

asked 14 Nov '16, 04:44

RahulLab's gravatar image

RahulLab
11112
accept rate: 0%

edited 17 Nov '16, 22:54

aseerel4c26's gravatar image

aseerel4c26 ♦
32.6k18248554


One Answer:

1

Documentation about the main "mapping" API is here. However, for displaying information, I'd suggest that you use an instance of the Overpass API (there are several). Note that most APIs will have some terms of use that you'll need to abide by.

A quick web search finds a bunch of possible examples such as here, but if you've not done much with Android before I'd try and get the basics of calling REST services in that environment first. A web search for "android REST example" claims to find "About 25,700,000 results" so there should be plenty to read...

answered 17 Nov '16, 22:51

SomeoneElse's gravatar image

SomeoneElse ♦
36.9k71370866
accept rate: 16%

Source code available on GitHub .