I created a Search Interface in Android. when we click on hardware search button our own search Dialog pops up. like this tutorial : http://www.edumobile.org/android/android-programming-tutorials/search-interface/
Then I made a action bar ( http://developer.android.com/resources/samples/ActionBarCompat/index.html) 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)
I appreciate for any help.