开发者

Is there a good way to API check on Android App?

开发者 https://www.devze.com 2023-04-02 07:37 出处:网络
Is there a good way to test if some API is compatible for older versions or not deprecated on newer versions than target platform, without running on开发者_JAVA百科 the device or emulator on which the

Is there a good way to test if some API is compatible for older versions or not deprecated on newer versions than target platform, without running on开发者_JAVA百科 the device or emulator on which the OS is running?


This tutorial may help you. It shows how to gracefully remain compatible with low API levels while using features introduced in more recent API levels.


Reading the documentation. Also set your API level appropriately.


Check out this question to find the Build version of the device and use suitable if clauses before using newer APIs.

0

精彩评论

暂无评论...
验证码 换一张
取 消