Search code examples
androidsearchandroid-activityandroid-searchmanager

How to define an activity for the Search Button?


I am not using a SearchManager, but I have built my own custom search activity. I want this to be shown when the user clicks on the Search button. How can I do this?


Solution

  • Inside of your own application, you can do this via monitoring onKeyDown(), AFAIK.

    Inside other applications, this is not possible except via custom firmware.