I am displaying maps in my Android Application. Nowhere in my application I have explicitly invoked www.google-analytics.com, yet I see lots of request going to this website.This is causing my application to be very slow. Also many times I get errors like Unresolved host www.google-analytics.com.
Is it mandatory for the functioning for Google Maps in Android or can we turn this off?
Thanks
I guess if Google Maps is using some Google analytics internally, there isnt much that u can do
Related
Yesterday (23.04.2020) our Firebase started reporting a lot of google maps library bugs:
Does anyone know what's going on and how to work around it?
Bug on Google's side, see https://issuetracker.google.com/issues/154855417
There is a workaround you can do there, or wait for a forthcoming update to Google Play Services.
Currently developing an app including google maps, I'm willing to make it work for China as well.
I know the situation in China evolved a bit during the last years. So I would like to know: is it possible to use google maps for an android app in China?
If I attempt to use it as it is directly, the map remains blank, taking probably too long to load or being blocked by the chinese firewall. And my phone has the google services, which is not the case of many other phones.
However, a version of google maps exists in China. See this link: http://www.google.cn/maps?hl=en
So as a part of google is not blocked, would it be possible to load the data of the google maps API for android from the chinese server when the user himself is in China or doesn't have the google services or a VPN?
I finally gave up on google maps and change to GaoDe (amap).
First because Google maps need the googles services, which are not available on Chinese phones.
Then because if there is a way with JavaScript to get to the Chinese google map ( see the following link: developers.google.com/maps/faq?hl=en#china_ws_access ), for android with java it is still not reliable.
Nearly all of the Google service are not working in China.
Most Chinese developer use Baidu or Gaode as the location provider.
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?
I had working code showing my location on a nice little google map. with out changing any map code suddenly the map is completely blank (a grey grey square) thats it..
using google map api for android v2. all set up with an api key and everything.. it was working!
This can happen for a few reasons. Did you sign this version of the application with a different certificate? Are you sure your device has an internet connection? You can also check the logs as Google Maps usually spams a bunch of information about why it is unable to connect. I run into this issue sometimes when my phone is running internet through a proxy, you might want to check that as well.
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.