Monday, November 2, 2009

[android-developers] Re: Supporting both 1.5 and 1.6

There is an issue re the AVDs not showing up in the target list filed
here:
http://code.google.com/p/android/issues/detail?id=4303

I've been using the "adb -e install" command with an exported APK
against an already running Android 1.5 emulator for the time being.
You can start that from Eclipse by the Window menu -> Android SDK and
AVD Manager option.

On Nov 2, 2:28 am, limtc <thyech...@gmail.com> wrote:
> Hi,
>
> I just got myself an Android phone running 1.6 with 240x320 screen.
> This required me to use 1.6, but I wish to support 1.5 too.
>
> According tohttp://d.android.com/guide/practices/screens_support.html
> (Strategies for Legacy Applications):
>
> --
> Change your application's build properties, such that it compiles
> against the Android 1.6 (API Level 4) library, rather than against the
> Android 1.5 (or earlier) library. You will not be able to compile your
> application against the older platform because of the new manifest
> attribute.
> ...
> Set up AVDs for testing your application on Android 1.5 (or earlier
> platform). You need AVDs running the older platforms you are
> targeting, so that you can test for compatibility and ensure that
> there are no functional regressions.
>
> Compile your application against the Android 1.6 library and run it on
> the AVDs you created. Observe the way your application looks and runs,
> and test all of the user interactions.
> --
>
> However, how does it work? Now my codes cannot compile on a 1.5
> device, nor does the AVD 1.5 even shown up in the target list! How do
> you "run it on the AVDs you created"?
>
> Thanks!

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