Access google map without connection in Android - android

I'm developing an android application which contains info of certain places. So when the user select one place(an item of a listview) an android map is shown (I'm using android api v2 of google maps), but of course this happens when the user has internet access.
Does anyone know a way of showing a map without connection?
Thanks!

If your application has write external storage permission, maps API v2 keeps a cache, so the map is normally displayed for area shown recently.
If you want to have a full offline map, you would have to embeed your own tiles, which possibly brings your app size to hundreds of MB or you can try to use open street map. See here: open street maps api for android.

Related

Using Google Maps Android v2 offline

I have an app to will sometimes get side loaded onto devices that will never have internet connectivity. I am already using google maps android v2 throughout the app and would like to continue using it. In the case of no connectivity I have a set of offline maps installed on the device.
However google seems to require you to connect to the internet at least once to verify the API key before using the maps API. Even if you set the mapType to NONE google will still not let you place offline tile overlays on the map, nor map markers. This still seems to be true:
Using the android Google Maps API v2 as a viewer of offline tiles: is it possible?
Does anyone know of any kind of workaround in which I can still use the API and display offline tiles if I have never connected to the internet?

Using maps in offline mode

I'm starting developing a project of an android app.
For this project i need a map where i can draw circles, polylines and polygons and click in all of this draw shapes to show informations about each one. At this point, googlemaps + spatialite or googlemaps + quadtree + utils to identify if a LatLng belongs to a circle/polyline/polygon can solve the problem but i have one more requirement: i need to cache a zone of the map to work with it on the street without internet. I know that google maps official app can do this with th typing of "Ok Maps" but there are anyway to use that cache in my application? There are another way to do a cache of the map before going to the street and go without internet?
Preferably i would like to use google maps but I'll have to use another api? What?
Regards
Due to the need for Google to check your api key, I have not seen any way for third party apps to access google maps offline. If you need offline capabilities, one of the main solutions is something called osmdroid which has a similar interface to google maps but you can cache tiles for offline use.
OSMDroid

Android application using offline satellite map

I've been browsing the internet for two days now looking for the best way to do this, here is my concern :
I'm currently developing an Android application where the user has to browse a map (preferably satellite view), add markers etc. The problem is that the user will often be in a spot without internet access.
Some info i gathered (correct me if I'm wrong):
Google earth doesn't have an Android API
Last Google map api for Android allows the developer to implement his own TileProvider (http://guides.cocoahero.com/google-maps-android-custom-tile-providers.html).
It's forbidden to cache google maps data
So at the end my questions are :
Is it possible to use the Android Google Map API to display tiles from another data source than google maps ?
If so what would be a good source of satellite map, available offline ?
I'm new to Android development so I wanted to ask you guys before trying it out!
Thanks in advance

Map interface for Android Application

Currently, I am working on the development of an application for Android devices, which will include indoor tracking and routing.
On the one hand, the administrator of this application will upload an image of the map, so users' locations will be projected on this map. On the other hand, a user will be able to zoom in/out, navigate the map, get information and other similar actions that are available on the Google Map Services.
I have been reading in the Android API documentation and I came across MapView. Even though MapView is a complete and robust library, it is not going to help me since it makes use of the Google Maps Service.
My question is whether another (similar) API exists for viewing and managing a Map, besides the MapView.
Thank you for your time.

Can I Access Maps Saved for Offline use by Google Maps

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

Categories

Resources