Wednesday, December 2, 2009

[android-developers] Re: Is Android backwards compatible?

On Dec 1, 6:46 pm, Dianne Hackborn <hack...@android.com> wrote:
> Just to reiterate -- there is really no reason not to build against the most
> recent (2.0) SDK, as long as you test against the older ones.  Use
> android:targetSdkVersion to tell the system that you have developed against
> the newer version so they will be able to turn off their various
> compatibility features.

Testing against older android versions in eclipse using AVDs is a
problem (hopefully I've missed something).

e.g.
I have AVDs created against 1.5, 1.6, and 2.0.
Using the New Android Project wizard create a project against 2.0 SDK.
Edit the manifest to set minSDKVersion=3, maxSDKVersion=5,
targetSDKVersion=5

Using RunAs|Run Configurations look in the Target tab. The only avd
available is 2.0. You cannot select an older SDK to test against.

(as I say, hopefully I have missed something)

Dave Rowntree

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate