Search Bar up, yet cannot search.
<p>Now I have this search bar up with code below.</p>

<p>Link : <a href="http://pastebin.com/6vSBR8iX" rel="nofollow">http://pastebin.com/6vSBR8iX</a></p>

<p>How do I let it become the type of search window like the market has?</p>

<p>This is the Android manifest I have. </p>

<p>Link : <a href="http://pastebin.com/ue6NSTCr" rel="nofollow">http://pastebin.com/ue6NSTCr</a></p>

<p>Someone please help me out with this. I have tried </p>

<pre><code>@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.search);

// Get the intent, verify the action and get the query
Intent intent = getIntent();
if (Intent.ACTION_SEARCH.equals(intent.getAction())) {
  String query = intent.getStringExtra(SearchManager.QUERY);
  doMySearch(query);
     }
}
</code></pre>

<p>But could not get the search up. </p>
