I'm altering the global search to search within my app, but the search
button isn't firing my internal search for some reason.  Here's what I
have:

manifest.xml:
   application metadata has the following:

        <meta-data android:name="android.app.default_searchable"
                          android:value=".MovieSearch"/>

   my .MovieSearch activity has the following intent-filter:

                <intent-filter>
                        <action android:name="android.intent.action.SEARCH" />
                <category
android:name="android.intent.category.DEFAULT" />
                </intent-filter>
                <meta-data android:name="android.app.searchable"
                       android:resource="@xml/searchable" />


and here is my searchable.xml file:

<?xml version="1.0" encoding="utf-8"?>
<actionkey  xmlns:android="http://schemas.android.com/apk/res/
android">
  <searchable xmlns:android="http://schemas.android.com/apk/res/
android"
     android:label="@string/search_label"
     android:hint="@string/search_hint" >
 </searchable>
</actionkey>


Is there some obvious thing that I am missing for this to be working?
Thanks for any help

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

Reply via email to