Right, device enumeration should not have been an afterthought - and in Android it is not even an afterthought yet!
Microsoft thought of device enumeration ages ago, with functions like GetLogicalDrives(), waveInGetNumDevs(), waveOutGetNumDevs(), mixerGetNumDevs(), CreateClassEnumerator(CLSID_VideoInputDeviceCategory,,), etc, etc. Things tend to become much less messy when designing APIs for accommodating multiple devices of a given type from the outset. It looks like the broadening scope of Android was (and is) underestimated. Regards On Sep 11, 10:42 am, Indicator Veritatis <[email protected]> wrote: > Что Вы? Видно, это не то, что имела ввиду. > > But the truth of the matter is as Dianne so laconically stated: since > there is no platform API for it, trying to support two SD cards is > going to be ugly. Or in the case of the Samsung phone, already is > ugly. > > That said, I really wish Google had thought of this possibility ahead > of time. It really should not have been that difficult. Having 2 SD > cards is only a little odd, no more odd than having two SIMS, which is > also fairly common (at least for European phones). > > Part of marketing's job IS to anticipate such future requirements, > communicate them to engineering so that engineering can design with an > eye for the future. In this case, that would have meant leaving 'room' > in the API for supporting multiple (especially two) SD cards. > > Just think, for example, how much easier it is to backup your phone if > you have two SD cards in two separate slots: one for backup, the other > for data and programs. > > Finally, it is unfair to compare this to having two of everything and > anything, since two SD cards is so much more handy and so much less > expensive than having two touch screens, two CPUs etc. > > On Sep 10, 10:59 am, Kostya Vasilyev <[email protected]> wrote: > > > 10.09.2010 21:51, Dianne Hackborn пишет:> There is no platform API for > > developers to find the second SD card, so > > > I would strongly discourage having one since it will result in a > > > poorer user experience with their apps. > > > How do you discourage phone owners from buying and installing an sdcard? > > > -- > > Kostya Vasilyev -- WiFi Manager + pretty widget > > --http://kmansoft.wordpress.com -- 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

