I am trying to use Search Manager with Android.
In fact, I have an activity I'm calling in
onSearchRequested()
Then I use this function in the same activity to get the search string:
The problem is this: when I click the search button, I open a new activity, and I would like to stay on the same and do some searches. So my goal is to avoid opening a new action when I click the search button.
Thanks.
source share