I want to ask if Google Earth API is avaialble for developing android application. If google earth api is not available for android, are there any map api which can be used off network on android?
If you just want to open a location you can use the intents for searching on Google Earth. See How to fly to a location in Google Earth from your android app for examples
No, there's no offline API on Android or Google Earth API. You can use the regular Android Google Maps package api, eventually in combination with the Google Maps web api, in case you need routing and directions as well.
Until SDK 0.9, Google had a navigation package/api included, but that has been dropped; I guess due to licensing issues. Note that real-time turn-by-turn navigation on Android is not allowed and against the ToS, while route navigation in general can be done, but only in combination with the maps web api.
You can use the open source AndNav library for offline mapping. The API is very similar to the Android Google Maps one. The code can be found here: http://code.google.com/p/andnav/
Their wiki has a lot of good information and downloads for map tile packs.
© 2022 - 2024 — McMap. All rights reserved.