Program Tip

Android : API 수준 VS.

programtip 2020. 10. 24. 11:38
반응형

Android : API 수준 VS. Android 버전


저는 Android 개발이 처음이며 버전과 API 레벨 간의 연결 또는 차이점이 무엇인지 알고 싶습니다. 각각은 무엇을 의미합니까? API 14 또는 Android 버전 4.0 용 앱을 개발하기로 결정한 것은 무엇을 의미합니까?

아니면 하나가 다른 하나의 하위 집합입니까? 나는 단순히 차이를 얻지 못했고 왜 두 개의 카운터가 있습니까?

감사


음, API는 개발 용이므로 새 API 버전의 변경 사항은 더 "내부"입니다. 그러나 새 버전의 Android는 일반적으로 사용자에게 "눈에 보이는"기능을 더 추가합니다.

http://developer.android.com/guide/appendix/api-levels.html 이 페이지를 확인하십시오 . 버전과 API 레벨 간의 관계를 보여주는 표가 있습니다.


Android의 여러 버전은 동일한 API 레벨을 가질 수 있지만 API를 정수로 사용하면 개발자가 더 쉽게 기기를 타겟팅 할 수 있습니다. 아래 차트는 이들의 관계에 대한 아이디어를 제공하지만 문서 에만 API 수준의 전체 목록과 서로 다른 점이 포함되어 있습니다.

플랫폼 버전

출처 : developer.android.com .

이 데이터는 Android 2.2 이상을 지원하는 새로운 Google Play 스토어 앱에서 수집되기 때문에 이전 버전을 실행하는 기기는 포함되지 않습니다. 그러나 2013 년 8 월 Android 2.2 이전 버전은 Google 서버에 체크인 한 기기의 약 1 %를 차지했습니다 (실제로 Google Play 스토어를 방문한 기기가 아님).


In addition to the answers provided, there is a detailed explanation of the Android Platform usage on Wikipedia (permalink).

This table will give you a highlight of Android API vs Version.

여기에 이미지 설명 입력


API Level is an integer value that uniquely identifies the framework API revision offered by a version of the Android platform.

You can have a new Android version with the same API release as the previous version.

Check out https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels


A device running Android with version X will usually support applications written for API X and below.

This means if you want your app to support API 8, devices ver 8 will be able to run it, but also devices of ver 9, 10, 11, etc.

Here is the table which explains the ties between the numbers: http://developer.android.com/guide/appendix/api-levels.html


In a short note:

Main difference between them is that API level for android application development framework API on the other hand android version is maintained to mention new features to user level.

In details:

API Level is an integer value that uniquely identifies the framework API revision offered by a version of the Android platform.

The Android platform provides a framework API that applications can use to interact with the underlying Android system. The framework API consists of:

  • A core set of packages and classes
  • A set of XML elements and attributes for declaring a manifest file
  • A set of XML elements and attributes for declaring and accessing resources
  • A set of Intents
  • A set of permissions that applications can request, as well as permission enforcements included in the system

For more details you can visit this link: https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels


API = a set of functions and procedures allowing the creation of applications that access the features or data of an operating system, application, or other service.

Android = Android is a mobile operating system developed by Google.

So if we develop new API with new features they can be not supported in old android operation system, so we take old operation system , ++ version add support for new API and there we go (:

on the other hand if we have new operation system with new features we want to upgrade old API to support it, so we ++ version of the API.

Sound weird yeah ?

참고 URL : https://stackoverflow.com/questions/8629687/android-api-level-vs-android-version

반응형