Android Configure the question - what level of API do I install?

I am trying to configure the Android SDK on Ubuntu. Someday I want to make applications that can reach most of the market.

I heard that I need to make applications compatible with Android 1.6 for this. Does this mean that everything I install should be for Android 1.6 (API level 4?). Will I have problems running applications on my Android 2.1 phone?

+3
source share
4 answers

If you want your Android 1.6 device to be able to run your application, you should only use the functionality in API Level 4 (Android 1.6). Android is moving forward, so your device 2.1 (and 2.2) will run the 1.6 code without any problems.

, , API, . , , , . .

+5

Android 3 .

Android |

  • Android 1.5 | 37,2%
  • Android 1.6 | 29,4%
  • Android 2.1 | 32,4%

: http://developer.android.com/resources/dashboard/platform-versions.html

, 1.6 3, ( , ),

  • 1.5
  • 2.1 , , 2.1 , , 2.1.
+2

:

<uses-sdk android:minSdkVersion="3" android:targetSdkVersion="4" />

, 1.5, .

+1

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


All Articles