开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜