title: android how an EditText work as AutoComplete
body: <p>I want my <code>EditText</code> should work as <code>AutoComplete</code>, for that I write in XML file</p>
  
  <pre><code>android:inputType="textAutoComplete|textAutoCorrect"
  </code></pre>
  
  <p>but it's not working. </p>
  
  <p>I am working with API v2.2 and my Activity extends <code>MapActivity</code>, there I put a simple <code>EditText</code> and a button named "Search". so if we type the location name in <code>EditText</code> and press search button means it should go to that location in map.
  So I want that <code>EditText</code> to work as a <code>AutoComplete</code>.
  How can I do that?</p>