Override onSearchRequested() and do whatever you want, IIRC.

On Tue, Dec 14, 2010 at 12:20 PM, fr4gus <[email protected]> wrote:
> Hi All,
>
> I was looking at Search Framework documentation and it looks pretty
> cool http://developer.android.com/guide/topics/search/index.html.
>
> I also was looking at Twitter and Facebook applications for Android
> and I notice both applications handle search button different. When
> user press search button, it will immediately display an Activity,
> instead of the regular search box dialog.
>
> I would like to start a Search activity in the same way as Twitter and
> Facebook, since I would like to offer filter options.
>
> Any ideas how this could be done?
>
> Thanks,
>
> -f4
>
> --
> 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
>



-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to *Advanced* Android Development_ Version 1.9
Available!

-- 
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

Reply via email to