SearchView in case of a separate Searchable activity


#1

Hello,

In sample project ActionBar/SearchView, how would the following change if we declare a separate activity as Searchable Activity:

  • Android Manifest
  • ConfigureSearchView(Menu menu)
  • res/menu/actions.xml

Thanks


#2

Off the top of my head, I have no idea.

I have not spent time looking at integrating with the Assistant or older Android search solutions in several years. That is why I removed the chapter that we discussed in a previous thread.

Using Stack Overflow as a gauge of popularity, few developers bother with this sort of search integration. I haven’t needed to worry about it for any consulting clients, and it’s not an area of personal interest (the way security is, for example). I wrote the chapter originally back when Android was small. As Android grows, I remove chapters that do not “meet the cut” for personal or community interest, if I cannot maintain those chapters.

I apologize for being unable to answer your search integration questions.


#3

I feel like crying…out loud :sob::sob:

I see such search interface in many applications where apparently a separate search activity is used and it uses a different layout altogether. I suggest the idea of search as a whole should be re-included in the book as a separate (and detailed) chapter. Now the latest version of this book doesn’t contain anything about how to implement search suggestions…how is this justified? And thats just one feature of search framework thats missing. Google updated this area or not but we need to lear what it currently offers.

Please look into it and dedicate a complete chapter on search framework currently being offered by Android, also suggesting the best practices. IMHO, thats a huge missing area.

I hope u r convinced enough to spend some of your precious time on that. The worst thing about this community is that it is pretty much you and me here, so this wish of mine cant be expected to get many votes if thats what would convince you.

Thanks anyway!