Hi

I'm trying to understand how the SearchManager works. I have one
activity "Activity A" from which I would like to invoke the Search UI.
When the user enters a query and clicks search I would like to start a
new activity "Activity B" that handles the query. How should I
implement this?

In the documentation, 
http://developer.android.com/reference/android/app/SearchManager.html

1) If the user launched a search, and this required switching to
another activity to receive and process the search Intent, your
activity will receive the normal sequence of activity pause or stop
notifications.

2) If the user launched a search, and the current activity is the
recipient of the search Intent, you will receive notification via the
onNewIntent() method.

The second use case works but I would like to specify another activity
to receive and process the search Intent.

BR
Martin

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to