On Sat, Jul 3, 2010 at 3:41 AM, Charlie Chilton <[email protected]> wrote: > The problem is, that when the using the Quick Search Box, I can see > the search query string arrive at my dummy content provider's query() > method, but the main Activity doesn't get it's onCreate() called with > a search intent; I suspect that this is because the dummy > contentprovider returns Null for the cursor in the query() method, and > then the SearchManager assumes there are no results to bother the > activity with.
Why are you returning null? Why not return a Cursor (e.g., MatrixCursor) with the results of the query? -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training...At Your Office: http://commonsware.com/training -- 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

