To answer my own question, put the following in the AndroidManifest
description of the main activity:

            <!-- This metadata entry causes .app.SearchQueryResults to
be the default context -->
            <!-- whenever the user invokes search while in this
Activity. -->
            <meta-data android:name="android.app.default_searchable"
                       android:value=".app.SearchQueryResults" />


On Mar 30, 2:17 pm, ScottG <[EMAIL PROTECTED]> wrote:
> When the SearchInvoke demo application executes startSearch the
> Android search window is immediately positioned at Search Demo (as
> opposed to Contacts, for example).  When I call startSearch the search
> window is positioned at Contacts and I have to click to my search
> window.
>
> How does SearchInvoke get the search window to open up immediately at
> Search Demo rather than Contacts?
>
> Any insight greatfully appreciated.
>
> Cheers, Scott
--~--~---------~--~----~------------~-------~--~----~
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]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to