How to add a buffer to google map v2?

3

I followed several tutorials and one of them worked, but when I compile the normal fragment appears with the name google in the lower left corner of the screen (normal), but nothing map :( ... When I'm in a good connection with the internet there sometimes the right ... (ah .. easy .. the problem is on the net !!!) well .. I believe not because ALL the apps that need net carry from booa to google map ... only not my own.Thus, I think there should be some kind of buffer for google map v2, if so, does anyone know how to adapt a buffer to the map?

So, you already have all the permissions added and the manifest is configured according to the various tutorials I've seen ... searching, I saw that my problem might not be a buffer or caching but an API Key, which by I have done this in debug.keystore so I want to publish the app so I created a private keystore and got the API Key, I used it in the application according to the tutorials and still just showing the google name in the bottom left and nothing map, in the log comes the following message: Authentication failed. Timeout while trying to contact the server.

    
asked by anonymous 10.10.2015 / 20:47

1 answer

2

Then Google Maps for Android it works in cache as soon as you start it does this automatically for you, but of course you have to add some permissions so it can do that.

<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>

This is one of the main reasons he can be saved in the cache. See also how you are setting up your manifest if everything is correct.

Google Doc:

  

You must also request the android.permission.WRITE_EXTERNAL_STORAGE permission.

Follow the link Google Maps Android Configuration

    
10.10.2015 / 23:08