Need help on AutoCompleteTextView for Searching
<p>Friend's 
  I implemented AutoCompleteTextView  for searching whether it supports in all SDK Version and target,because i tried the sample from <a href="http://developer.android.com/resources/tutorials/views/hello-autocomplete.html" rel="nofollow">http://developer.android.com/resources/tutorials/views/hello-autocomplete.html</a>
it nothing shows in dropdownlist,
when i used im application for parsed content kept in an string array,i'm getting Exception,what is wrong with</p>

<p>Here my code</p>

<pre><code>Log.v("Length of a",Integer.toString(a.length));
                    try{
                    wv.setVisibility(View.GONE);
                    place_list.setVisibility(View.VISIBLE);
                    Log.v("Length of a222222",Integer.toString(a.length));
                    ArrayAdapter&lt;String&gt; adapter = new ArrayAdapter&lt;String&gt;(Bru_Maps.this, android.R.layout.simple_dropdown_item_1line, a);
                    textView.setAdapter(adapter);
                    }catch(Exception e)
                    {

                        Log.v("Error","search_name"+e);

                    }
</code></pre>

<p>from the above code prints the log has well but it return null pointer exception</p>

<pre><code>ArrayAdapter&lt;String&gt; adapter = new ArrayAdapter&lt;String&gt;(Bru_Maps.this, android.R.layout.simple_dropdown_item_1line, a);
</code></pre>

<p>here the a is string variable contains the parsed data to bind in list.
help me.</p>

<p>Thanks in advance.</p>
