Android Can an application developed in Android 1.6 work in Android 2.0?

Android is backward compatible, in other words, can an application developed in Android 1.6 work in Android 2.0?

I just published the application 2.0 and found that I can not find it on the market using my G1 phone (Android 1.6). But apparently others are loading it.

Should I downgrade the application to version 1.6 or do I need to create separate applications for each version of Android?

+3
source share
4 answers

Since you developed your application with the 1.6 SDK, you should (should?) Label it 1.6. This will increase the number of people who can see and download your application.

2 (1.6 2.0), . , , Android SDK 2.0, :

  • , Android 2.0 ( 2 , Android )
  • , Android 2.0
+3

, , Android- , , .

Android, 1.6 SDK. - 1,6- API-, , , , 1.5 SDK , . , 1.5, , , .

minSdkVersion 3 (Android 1.5) targetSdkVersion 4 (Android 1.6). Android- , , Android 1.5, 1,6 ( , , 2.0).

, AndroidManifest.xml

Android use-sdk

+6

, 1.6 2.0, 2.0 1.6 2.0, 2.0 android (, Motorola Droid)

bye bye

pd:

+2

, , android 1.6, 1.6 2.0.

If this application is based on android 2.0, and you want to run it on the Android 1.6 platform, just install minsdk in AndroidMenifest.xml, as this "uses -sdk android: minSdkVersion =" 4 "", then it can also work in version 1.6 of the platform .

thanks

0
source

Source: https://habr.com/ru/post/1724396/


All Articles