This is proving much harder than I thought... Basically, in order to show a search item in the action bar (or any item) I need to set "showAsAction" in my menu.
In order to do that, I need to build with SDK >= 11. If I build with SDK >=11, I am at risk of including some code that will fail badly on SDK 8 to 10 devices... I have tried the API Analysis plugin from the adt addons (http:// code.google.com/p/adt-addons/), but for some reason, it does not seem to work. Other people talk about a dupplicatte build ant task that would build against minAPI, but that is late in the process (in my case after comitting code to version control). It feels like the way Google are managing upward compatibility is fairly lightweight. I wonder how other people are doing. I am definitely not the only one trying to build an application that would run from FROYO to HONEYCOMB and that would have a search button! Please help ;). JM -- 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

