开发者

Android manifest android:installLocation only work in 2.2?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜