Paul
Paul

Reputation: 1383

open street maps api for android

Does anyone know where I can find the open street maps api for android? I have searched the site and all I can see is other peoples implementations of it.

I'm looking for one which can be integrated into another app and fully customized.

Upvotes: 37

Views: 42912

Answers (2)

NickT
NickT

Reputation: 23873

You can integrate OSM by using the Osmdroid API. This gives you functionality very similar to Google maps but you can also use OSM tiles offline if you prepare the tiles with Mobile Atlas Creator (MOBAC)

See Osmdroid home page (GitHub)

You just need the osmdroid-android-3.0.5.jar in your build path. You don't need an API key like Google demands and tiles get cached, so next time you visit that location you save on data download costs/time.

It's got a few tiny bugs, but overall it's pretty good

Upvotes: 34

Ando
Ando

Reputation: 11409

If you are going for a commercial app them it's worth taking a look at "commercial grade Android SDKs" - all vendors allow you to customise your app (depending on the vendor, the degree of customisation may vary), and I believe all vendors have "free tiers" (payment plans where you actually don't have to pay :) ) that might be good enough for your app (or at least you don't have to pay until your app is commercially successful).

To name a couple Android SDK providers:

  • skobbler (now Telenav) has an SDK which is able to render maps & display turn by turn navigation on your Android phone. It also supports offline mode. Check out their developer platform for details
  • OsmSharp also does map rendering and turn by turn navigation. You can pull their code from github
  • MapQuest has a nice map & routing engine for Android. I think you could also use their routing service with Mapbox maps (see this as a starting point). I don't think they can do offline mode

Upvotes: 10

Related Questions