开发者

Android manifest android:installLocation only work in 2.2?

开发者 https://www.devze.com 2023-02-15 06:31 出处:网络
Android mani开发者_如何转开发fest android:installLocation only work in 2.2? Not in 2.1? :( Is there a way to check the android version? If android version is 2.2 then use the installLocation auto? Not

Android mani开发者_如何转开发fest android:installLocation only work in 2.2? Not in 2.1? :( Is there a way to check the android version? If android version is 2.2 then use the installLocation auto? Not in XML.


Yes, it's available only from API level 8 (that is Android 2.2), see the docs. You can retrieve the version number from android.os.Build.VERSION

0

精彩评论

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