I'm trying to take advantage of the SearchManager to allow a user to find certain items to add to a list.
So basically what I do is I have a SearchActivity class that handles the display of the results in a list. Then in my other activities I tell them to use this SearchActivity to do a search by doing the following in the manifest:
<meta-data android:name="android.app.default_searchable"
android:value=".activity.SearchActivity"/>
The issue is that I want my first activity to find out which item was selected in the SearchActivity.
What is the proper way to do this? At this point my only option would be to build my own search UI and then use startActivityResult, but i'd prefer to use the SearchManager.