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

Aus Android Wiki
Version vom 10. Januar 2016, 04:08 Uhr von FuzzyBot (Diskussion | Beiträge) (Neue Version von externer Quelle importiert)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)

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.