i'm new android development.
i'm studying outdated books, i'm confused new methods.
i'm going make simple , light app can run on old devices.
so when created new android project, set "minimum required sdk" api 8, "target sdk" api 22 , "compile with" api 22.
does setting mean app can work on devices of api 8, though use methods of api 22?
i'm asking question due deprecated methods.
i completed half of app developing using deprecated ones.
can replace them new ones?
or have prepare multiple codes using different methods support different platform versions?
(deprecated methods older versions, , new ones newer versions?)
does setting mean app can work on devices of api 8, though use methods of api 22?
yes. min sdk version used restrict devices running os api level < minsdk using app. app won't shown in play store devices.
i'm asking question due deprecated methods.
i haven't faced issues till due depreciated methods. however, suggest use min sdk version 14 google has introduced many ui tweaks , enhancements. if market research, using minsdk version = 14 cover around 85% android market.
can replace them new ones?
yes, can.
or have prepare multiple codes using different methods support different platform versions? (deprecated methods older versions, , new ones newer versions?)
you can also. older versions not have support have fragments. fragments improve user experience drastically tablets. similarly, material design lollypop devices awesome. thee few examples can opt api level specific implementation. however, better switch api level >= 14
Comments
Post a Comment