Hi, I'm now trying this on a more complicated app. It doesn't work. On the 1.5 emulator, nothing happens when onSearch() is called. On the HTC Magic, the Google Search box appears. The manifest is the same as my test app that works.
On Nov 10, 12:13 am, Miguel Paraz <[email protected]> wrote: > Hi, > Found. I missed the intent receiver in the activity definition: > > <intent-filter> > <action android:name="android.intent.action.SEARCH" /> > <category > android:name="android.intent.category.DEFAULT" /> > </intent-filter> > > On Oct 18, 11:22 am, junker37 <[email protected]> wrote: > > > > > Any ideas? I am attempting the same thing right now with 1.5 and am > > seeing the same behavior. > > > On Oct 8, 6:42 am, MiguelParaz<[email protected]> wrote: > > > > Hi, > > > The 1.5 AVD doesn't seem to follow the documentation > > > in:http://developer.android.com/reference/android/app/SearchManager.html > > > > which says it's enough to callonSearchRequested() to call thesearch > > > activity. > > > I need to call startSearch() to make it work. > > > However, when I check the source code of Activity.java, > > >onSearchRequested() does call startSearch(). > > > > This works in 1.6. > > > > Is this a bug in 1.5, or did I miss something? Thanks. -- 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

