Translations:Android Training/Supporting Different Platform Versions/7/en: Unterschied zwischen den Versionen

Aus Android Wiki
(Neue Version von externer Quelle importiert)
 
(kein Unterschied)

Aktuelle Version vom 10. Januar 2016, 04:08 Uhr

Nachricht im Original (Android Training/Supporting Different Platform Versions)
== Check System Version at Runtime ==
Android provides a unique code for each platform version in the <code>[http://developer.android.com/reference/android/os/Build.html Build]</code> 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.

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.