You don't need 2.0 hardware.  Test against the emulator; if you work under
2.0 there, and work on hardware on some earlier version of the OS, you are
fine.

For what it's worth, I believe the biggest causes of apps breaking on the
newer devices are them having trouble with the new screen densities / sizes,
and them using private APIs.  We got the screen support out earlier in 1.6
and have been trying to beat that drum to get people to start to address
that, since that is one of the biggest impacts on them.

There are certainly some specific kinds of apps where running against
specific hardware is much more useful (open gl and camera are the two main
ones that I would think about), but as far as dealing with different
platform versions, the platform is the platform, and whether you run it in
the emulator or on one device or another it behaves the same.

For changes in 2.0 that apps may need to deal with, I think the biggest are:

- Service.setForeground() becoming a no-op
http://developer.android.com/reference/android/app/Service.html#setForeground(boolean)

<http://developer.android.com/reference/android/app/Service.html#setForeground(boolean)>-
Existing contacts API only provides information from the main account;
switch to the new Contacts API to access all accounts
http://developer.android.com/reference/android/provider/ContactsContract.html

- Back key now performs its action on up instead of down, so applications
that explicitly look for it will want to do so on the up.  There will be a
blog post with more information on this.

On Tue, Oct 27, 2009 at 7:35 PM, String <[email protected]>wrote:

>
> On Oct 28, 1:59 am, "Maps.Huge.Info (Maps API Guru)"
> <[email protected]> wrote:
>
> > I'm signing up for a Droid on the first day it will be out. Too bad
> > there isn't a simple way for developers to get their hands on these
> > devices without signing up for a two year contract.
>
> John, just consider yourself lucky that you're in a country where 2.0
> hardware will be available from the start.
>
> String
> >
>


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

Reply via email to