title: Android google places api return request denied
body: <p>In my Android project I am using Google map v2 and its working. As a change request I need to include search places in AutoCompleteTextview. </p>
  
  <pre><code>I did the following steps to get map in Google console.
  1) I have registered app.
  2) Placed SHA1 key and generated Android key.
  3) And made all procedure and get map.
  
  Now I include Google places search in an auto complete textview.
  1) go to the project enabled places api in the service pane. (picture 1)
  2) I give sample company name and web site url (http://www.google.com). (picture 2)
  3) now I get browser key and used it in app. (picture 3)
  </code></pre>
  
  <p>what key need to use (browser key or android app key). I have used both.</p>
  
  <p>But I got Request Denied Exception. I hope I made all things are correct.</p>
  
  <p>I have referred sample from the <a href="http://wptrafficanalyzer.in/blog/android-autocompletetextview-with-google-places-autocomplete-api/" rel="nofollow noreferrer">site</a>.</p>
  
  <p>screen snaps:</p>
  
  <p><img src="https://i.stack.imgur.com/OZ136.png" alt="enter image description here"></p>
  
  <p>after that:</p>
  
  <p><img src="https://i.stack.imgur.com/qBx9P.png" alt="enter image description here"></p>
  
  <p><img src="https://i.stack.imgur.com/QVLly.png" alt="enter image description here"></p>