Translations:Android Training/Supporting Different Platform Versions/7/en
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.