TiOsm is a titanium mobile module enabling a titanium mobile application on Android devices to access open streat map. In appcelerator's open mobile marketplace, there're already OpenStreetMap Module, but it currently supports only iOS platform and will not support Android in the near future. So I decide to write a titanium module to bridge osmdroid.
You have to download the following java libraries and place them under android/lib
First of all, edit titanium platform, Android SDK and NDK paths in the build.properties to fit your environment. Then just type
ant
You'll get the module binary in the following directory.
android/dist/net.tiosm-android-0.1.zip
To access this module from JavaScript, see the following example:
android/example/app.js
The following command will build and install an example app into the android emulator.
ant run
- MyLocationOverlay
- Annotations
- To support more features osmdroid has