Zum Inhalt springen

Translations:Android Training/Supporting Different Platform Versions/7/en

Aus Android Wiki

Check System Version at Runtime[Quelltext bearbeiten]

Android provides a unique code for each platform version in the Build constants class. Use these codes within your app to build conditions that ensure the code that depends on higher API levels is executed only when those APIs are available on the system.

Cookies helfen uns bei der Bereitstellung von Android Wiki. Durch die Nutzung von Android Wiki erklärst du dich damit einverstanden, dass wir Cookies speichern.