”android获取安卓版本“ 的搜索结果

     来获取一个整数值,表示当前设备的API级别(即Android版本号)。例如,如果设备运行的是Android 10版本(API级别为29),那么。通过上述代码,您可以轻松地在您的Android应用程序中获取设备的系统版本信息。,我们...

     当前系统版本号:int version=Integer.parseInt(VERSION.SDK);VERSION.SDK;Deprecated. Use to easily get this as an integer.The user-visible SDK version of the framework in its raw String representation; ...

10  
9  
8  
7  
6  
5  
4  
3  
2  
1