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?
Related
I am doing an app that allows users to get directions from one room to the next room of the same building and require the application to show the user indoor directions. I have tried and tested the Google Maps Intent which opened the Google Maps app and gave directions from one room to the next. I am required to not allow the user to open up an external map app and then receive directions. Instead they must use the Google Map built into my application. I was wondering if it's at all possible to do indoor directions on Google Maps Android API. Would genuinely appreciate any help I get. Thanks!
The Google Maps Android API v2 has options for indoor maps. See https://developers.google.com/maps/documentation/android/ under 'Indoor Maps' for a quick example.
Of course, that doesn't prevent them from using an external app by itself, but it does let you provide them indoor map data in your app.
Well I think you should have to start by using internal sensors to navigate. Add an indoor map of the building so that you would know where you are at in the building.
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
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.
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
I am looking to create an app where users can download a map to their phone before they go to a specific place (in case there is no 3G signal there) and then use GPS to take specific routes that will have been marked on the maps.
I have noticed GoogleMaps 5 has just been released that enables caching.
Is this something I would be able to use or can you not incorporate google maps 5 into another app.
I am very new to Android and am not quite sure what can and can't be done as yet so 'm sorry if
this is a really silly question?
Thanks for any help!
Bex
Is this something I would be able to use or can you not incorporate google maps 5 into another app.
Google Maps (the app) does not use the same Google Maps (the SDK add-on) that the rest of us use. Hence, right now, offline caching is not available to us.
You might consider looking at OpenStreetMap, which has some Android integration and supports offline maps.