I'm working at OpenStreetMap project for android at the moment. I want to retrieve OSM data from my app(nodes, markers and paths) and convert it to shapefile (.shp, .dbf and .shx). Later, I'll load it into ArcGIS editor. I've been investigating about it, and I have no clear idea if It's possible a direct conversion between this formats, or I have to step first on KML file and parse it in shapefile.
I actually don't know how to retrieve the OSM data to save a OSM file for being treated. I've been looking for a library or something like that but I have no lucky.
Can anyone give me a helping hand?