Wednesday, December 2, 2009

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

I think this has been brought up before and I've seen this as well. If you open the AVD manager that has the older platforms on it, you can manually start an emulator with one of them from there, then select the running emulator as your target when you do "Debug" or "Run".

-------------------------------------------------------------------------------------------------
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking


On Wed, Dec 2, 2009 at 9:08 AM, Dave Rowntree <dave.rowntree@gmail.com> wrote:


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

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