On Mon, Dec 7, 2009 at 1:20 PM, AJ <[email protected]> wrote: > 1) drawable verses the new drawable-* ... if I don't have an icon in > drawable.png will my application be icon-less in 1.5? Do I need to > copy one of the new icons in there? If so, which one? >
If you want to run on pre-1.6 platforms, I would suggest putting your medium density bitmaps in drawable/* instead of drawable-mdpi/*. 1.6 and later will assume that these are medium density. > 2) search ... how does the "SEARCH" activity get raised for an > application on SDK 1.5 devices (which don't appear to have a hardware > search button.) Do I need to add a menu option and raise SEARCH as a > sub-activity? [Note: I am 100% confused by search button on all > android versions 'cos what I read says SDK 2.0 copes with virtual > buttons, yet those devices (in emulator) seem to have hardware ones. > What am I missing?] > Whether or not there is a search button is really a device thing, and not a platform version thing. For example, the G1 has a search key on its hard keyboard, and you can assume there will be devices running 2.0 and later that don't have a search key. If search is important for your app, you will want to have another mechanism to get to it -- often a menu item. -- Dianne Hackborn Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- 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

