"Yes" doesn't really cover all the situations.  Google has attempted
to make code you write for 1.5 (code level 3) or 1.6 (code level 4)
forwards compatible with Android 2.0 (code level 5).  This works
"mostly" but you may have to make a few tweaks.

In my case when they went from 1.6 they broke almost every single one
of my widgets that I have written due to a parameter I was using in my
provider.xml file that they changed.  I had to make a small
modification to all of them to keep it compatible with 1.5 but also
forwards compatible with 1.6 and 2.0.

Another fine example is with the higher screen resolutions.  If you
made the mistake of using of a font size of say "12pt" in 1.5, thats
going to look like crap on a Droid with a higher resolution.  I had to
change a lot of stuff like that to support across the board screen
resolutions.

Your best bet right now is to write your application using SDK level 3
(Android 1.5) and then test it in an AVD emulator for 1.5, 1.6, and
2.0.  The reason you want to still be supporting 1.5 is because ALL of
the HTC Hero line of phones are still running 1.5.  This includes the
Hero, the Eris, the European Hero, etc.  There are also versions of
phones in other countries where the carrier did not push out 1.6 to
it's customers.

Good luck!

On Dec 1, 11:50 am, TreKing <[email protected]> wrote:
> Yes it is. Did you set the minSDK parameter in the manifest to target 1.6?
> (SDK version code 4 I believe).
>
> ---------------------------------------------------------------------------­----------------------
> TreKing - Chicago transit tracking app for Android-powered 
> deviceshttp://sites.google.com/site/rezmobileapps/treking
>
>
>
> On Tue, Dec 1, 2009 at 9:14 AM, bennyb <[email protected]> wrote:
> > Is Android backwards compatible, in other words can an application
> > developed in Android 1.6 run in Android 2.0?
>
> > I just published a 2.0 application and discovered that I can't find it
> > in the market using my G1 (Android 1.6) phone. But apparently others
> > are downloading it.
>
> > Should I downgrade the application to 1.6 or do I need to create
> > separate applications for each Android version?
>
> > --
> > 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]<android-developers%2bunsubs­[email protected]>
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en- Hide quoted text -
>
> - Show quoted text -

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