Loading docs/html/training/basics/activity-lifecycle/starting.jd +1 −1 Original line number Original line Diff line number Diff line Loading @@ -219,7 +219,7 @@ public void onCreate(Bundle savedInstanceState) { } } </pre> </pre> <p class="caution"><strong>Caution:</strong> Using the {@link android.os.Build.VERSION.SDK_INT} to <p class="caution"><strong>Caution:</strong> Using the {@link android.os.Build.VERSION#SDK_INT} to prevent older system's from executing new APIs works in this way on Android 2.0 (API level prevent older system's from executing new APIs works in this way on Android 2.0 (API level 5) and higher only. Older versions will encounter a runtime exception.</p> 5) and higher only. Older versions will encounter a runtime exception.</p> Loading Loading
docs/html/training/basics/activity-lifecycle/starting.jd +1 −1 Original line number Original line Diff line number Diff line Loading @@ -219,7 +219,7 @@ public void onCreate(Bundle savedInstanceState) { } } </pre> </pre> <p class="caution"><strong>Caution:</strong> Using the {@link android.os.Build.VERSION.SDK_INT} to <p class="caution"><strong>Caution:</strong> Using the {@link android.os.Build.VERSION#SDK_INT} to prevent older system's from executing new APIs works in this way on Android 2.0 (API level prevent older system's from executing new APIs works in this way on Android 2.0 (API level 5) and higher only. Older versions will encounter a runtime exception.</p> 5) and higher only. Older versions will encounter a runtime exception.</p> Loading