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
精彩评论