android - Setting/changing min SDK and Target SDK versions in code -


is possible set minumum sdk , target sdk versions in code android application? specified in manifest.xml file

no not, system should able read before runs application.

when preparing install application, system checks value of attribute , compares system version. if android:minsdkversion value greater system version, system aborts installation of application. similarly, system installs application if android:maxsdkversion compatible platform version.

if not specify these attributes in manifest, system assumes application compatible platform versions, no maximum api level.


Comments

Popular posts from this blog

How to mention the localhost in android -

php - Calling a template part from a post -

c# - String.format() DateTime With Arabic culture -