2

i need small help here in key what key i need to be placed google maps key r browser key?

 StringBuilder sb = new StringBuilder("https://maps.googleapis.com/maps/api/place/nearbysearch/json?");
                        sb.append("location="+mLatitude+","+mLongitude);
                        sb.append("&radius=5000");
                        sb.append("&types="+type);
                        sb.append("&sensor=true");
                        sb.append("&key="");
  • http://stackoverflow.com/questions/31011216/solved-request-denied-with-google-places-api-key-for-server-web-used-in-an-andr/ – Daniel Nugent Jun 25 '15 at 04:07
  • it means i need to pass browser key value?? – bojja benarjee Jun 25 '15 at 04:29
  • Use a Server Key, that's what the documentation says to use. Also make sure that the correct API is enabled. Also take a look at this answer: http://stackoverflow.com/questions/30161395/im-trying-to-search-nearby-places-such-as-banks-restaurants-atms-inside-the-d/30162174#30162174 – Daniel Nugent Jun 25 '15 at 04:33

1 Answers1

0

For the Google Maps API, you do need to give a key value. This is where you should put your application's API key. You can create an API key at the Google Developer Console.

Source: Google Developers

Evan Ogra
  • 206
  • 3
  • 11