http://howto.cnet.com/8301-11310_39-57462845-285/save-maps-for-offline-use-in-google-maps-for-android/
Ok so on android the new google maps can allow the user to save the map for offline use.
My question is my app uses google maps, can I access these saved maps from my app when I am in offline mode??
Thanks
Ok so on android the new google maps can allow the user to save the map for offline use.
The Google Maps application for Android offers offline caching.
My question is my app uses google maps, can I access these saved maps from my app when I am in offline mode?
The Google Maps SDK add-on for Android does not offer offline caching, at least not at this time.
I'm really not shure, but in my understanding, One uses the GoogleMaps through the Android-Maps-Api. So if you are showing a region you have stored before, the maps-api should deliver stored Map-tiles instead of downloading them from the internet. You can test this, if you store a region around your place, disable all Internet-acces on your phone, and test inside you app, if the stored regions are shown.
EDIT:
Sorry I testet it myself without Result. It will be too nice and easy if that would have worked, maybe Google adds this feature to their API one day
Related
I am making an android application that will show google map on the screen. By clicking on a button user can download a the his/her specific region and store that in internal storage. Later when internet connection is poor or not available then user can use the offline map downloaded earlier. How to make this kind of app. Please guide me.. Thanks.
You should carefully read Google Maps APIs Terms of Service especially 10.5 (d) and 10.5 (e), because technically you can (temporary) download tiles for specific region from Google Maps server via series of URLs like http://mt1.google.com/vt/lyrs=m&x=95&y=55&z=7 and then create custom tile provider for Google Maps like in this answer of Alex Vasilkov. Also take a look at this answer of KENdi.
I'm making an Android app that needs to use maps, even if the user is offline. I know that google maps can't be stored for so I tried with Mobile Atlas Creator to genereate tiles and include them whithin the app, but the providers are very limited, they didn't have data for my country.
So my question is what is the best aproach for this type of situations.
You can use an OpenStreetMaps controller (like osmdroid) and Google Maps tiles. According to the Google Maps TOS (10.1.3.b), it seems that you can use a portion of maps if you cache it temporarily and securely
I have a small android app project in mind and it will use the Google Maps API. I'm wondering if it is possible to save an offline map specifically for my app to use, or if I could access an offline map that is downloaded onto my google account through my app. Thank you.
No, it's not possible for 3rd party apps to control how maps data is being handled, including off-line usage. It may change in future but for now, you are out of luck.
I have watched tutorials on how to integrate google maps in an android application. Before I put google maps in my android application, I want to know if you need internet connection to run the application that runs google maps?
--------------------Answer to question above has been solved---------------------
I have another question. What are the things that an offline map can do? Can the offline map do pathfinding? Can you get coordinates, distances and other map data from it? Or is it just a map that can only be viewed?
If you have watched tutorials about that you might have noted that the maps api needs permission.INTERNET which is also obvious as the maps need to be loaded from Google. How else should they come to your device or simulator?
Is there a way to use the offline mode in Android apps using the Google Maps API?
Any direction to a tutorial or source code would be a massive help. I've been searching for hours without any luck. I know Google has released a way of using maps offline, but is it available for Android developers?
See this solution or this one. Basically you just create your own tileprovider and access tiles locally. It is totally doable with the v2 API. API Reference
There's some false information floating around out there that the v2 Google Maps API requires an Internet connection. There was a but where the API would require a single access after app install to verify with Google Play services, but I believe this has been fixed.
See this and this.