To build Android app with osmdroid, your app have to target Android level 3 or higher (1.5 or higher).
Also, you need to download the JARs (currently):
Add the JARs in your Java Build Path:
- Craete a folder libs in your project.
- Copy the JARS in the libs folder.
- Add in Java Build Path: Right click the project -> Properties -> Java Build path, click Add JARs, to add your JARs in libs.
Modify manifest to add the permission:
- android.permission.ACCESS_COARSE_LOCATION
- android.permission.ACCESS_FINE_LOCATION
- android.permission.ACCESS_WIFI_STATE
- android.permission.ACCESS_NETWORK_STATE
- android.permission.INTERNET
- android.permission.WRITE_EXTERNAL_STORAGE
Reference: HowToUseJar
In next articles, I will show how to build basic map app using osmdroid.
0 Response to "osmdroid - interact with OpenStreetMap to replace Google Map"
Posting Komentar