OSM API for Android App

Hello,

I’m new to this forum, so pleas forgive me if this question has been asked before.

Currently, I am studying Computer Science and want to start creating an Android application for a course. The app is supposed to work with a Map in such a way, that it is able to display, zoom in/out, scroll and select a point and use the point’s coordinates for further processing. I read about the API v0.6 on the Wiki pages. That’s my background so far.
My question is, can I use the API v0.6 to do the above mentioned actions on a map in my app? Is there maybe a better/easier way to include maps in an Android app? And, most important, are there tutorials that explain how to use OSM in Java, maybe even with code examples?

Obviously, Google Maps would be an alternative on Android - but I’d prefer OSM a lot.

Probably I forgot to mention half the questions I had, but these are the most important ones. And thank you so much for your responses :slight_smile:

You should be looking at

https://code.google.com/p/mapsforge/

or, possibly better for your application

http://libosmscout.sourceforge.net/

See https://github.com/nkostelnik/libosmscout/tree/master/Android for Android

You can naturally roll your own, but that is a -lot- of work.

Hi Simon,

Thank you for your response. I will try the OsmScoutLib from your last link. Does that add functionalities like in thie original OsmAnd App, i.e. browsing the map as you like and then selecting a point? It gives me both longitude and latitude - exactly what I need for my app. Is there an interface that would allow my App to use OsmAnd and receive the longitude/latitude values of a point a user selected?

EDIT: What about mapsforge, would that possibly help me?

There is a googlegroup mailinglist about mapsforge where developers are present.

What about asking your special question about mapsforge there?