How to call Search Dialog by click on a common button
<p>I created a Search Interface in Android. when we click on hardware search button our own search Dialog pops up. like this tutorial : <a href="http://www.edumobile.org/android/android-programming-tutorials/search-interface/" rel="nofollow">http://www.edumobile.org/android/android-programming-tutorials/search-interface/</a></p>

<p>Then I made a action bar 
( <a href="http://developer.android.com/resources/samples/ActionBarCompat/index.html" rel="nofollow">http://developer.android.com/resources/samples/ActionBarCompat/index.html</a>)
and I put a search button on it. I want to load my search Dialog when I click on the button.(The same when I click on hardware search button on the phone)</p>

<p>I appreciate for any help.</p>
