• Stars
    star
    222
  • Rank 179,123 (Top 4 %)
  • Language
  • License
    MIT License
  • Created over 7 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Why you should bump your Android app minsdk?

You should always keep bumping your minSdk version for the Android app. Newer API levels (OS versions in Android) come with more fixes and features that you can start using. But if you're required to make that case, this document should help.

What you get:

Features:

Android Studio currently already provides a neat listing (with a picker and all) everytime you create an Android Studio project. For the lazy, i'll include a screenshot from each of those APIs.

If there's a feature not on that list, that you think is worth calling out, send a PR and we'll add it here!

Bugs:

Sometimes there are terrible bugs/limitations with OS versions (or the phone manufacturer variant of that OS). If you notice these and want to make the world for AndroidDev better, send a PR and we'll add it here!

Features that are not user facing:

There are programmer facing features like language features (Lambdas, method references, try with resources) that are hugely critical for developers. These are usually not called out in that new Android Studio project creator listing. If you know of these and want to make the lives of other AndroidDev better, send a PR!

minSdkVersion 25 (7.1) Nougat

minSdkVersion 24 (7.0) Nougat

  • Multi-Window Support
  • Java 8 language features and API (Note: some of the known and loved features like Lambdas and Method references are already available via Android Studio. However certain other features like Streams, functions, FunctionalInterface etc. are only available from 24. See linked doc for details).

minSdkVersion 23 (6.0) Marshmallow

api 23 features

minSdkVersion 22 (5.1) Lollipop

api 22 features

minSdkVersion 21 (5.0) Lollipop

api 21 features

minSdkVersion 19 (4.4 - 4.4.4) KitKat

api 19 features

minSdkVersion 18 (4.3.x) Jelly Bean

api 18 features

minSdkVersion 17 (4.2.x) Jelly Bean MR1

api 17 features

  • Samsung bug with RTL (you need to have some padding on everything, otherwise Samsung will blow up cause they overrode or had their own version of rtl before Android had it built in?). Listen to this Fragmented episode with Dan Lew where he talks about it.
  • WebP support (but not lossless, see note in API 19)
  • Location objects send back elapsed realtime nanoseconds (this is important for getting the "age" of the location fix)

minSdkVersion 16 (4.1.x) Jelly Bean

api 16 features

minSdkVersion 14 (4.0.1 - 4.0.2) Ice Cream Sandwich

  • Holo theme introduced
  • USB On-The-Go support.

minSdkVersion < 14

No, don't use anything below 14 please.

Resources

More Repositories

1

RxJava-Android-Samples

Learning RxJava for Android by example
Java
7,557
star
2

movies-usf-android

Movie searching using a Unidirectional State Flow pattern for Android
Kotlin
226
star
3

san-jose-theme

A custom Terminal & IntelliJ theme (inspired by PatMurrayDEV -> Apple's WWDC 2017 session slides)
63
star
4

jetbrains_env

Jetbrains (mostly Android Studio) customizations
40
star
5

henry-hugo

Henry: Hugo theme meant for a gorgeous reading experience and packed with features
SCSS
36
star
6

km-macros

KG's Keyboard Maestro Macros
Shell
28
star
7

henry-jekyll

Henry: Jekyll theme meant for a gorgeous reading experience and packed with features
SCSS
27
star
8

rem

Remme - No nonsense handling of your todos
Java
26
star
9

movies-usf-ios

Movie searching using a Unidirectional State Flow pattern for iOS
Swift
15
star
10

CoreTextUtils

Java
14
star
11

kotlin-scripts

some handy scripting using kotlin
Kotlin
11
star
12

RxJs-Web-Samples

RxJs samples very similar to RxJava-Android-Samples
JavaScript
7
star
13

CountdownApp

A simple countdown app
Java
4
star
14

xcode-11-theme

Custom dark and light themes similar to XCode 11
3
star
15

kg_alfred_extensions

KG's Alfred Extensions
3
star
16

tootbot

🐘 auto-toot bot to Mastodon. Parses a Json blog feed and posts to Mastodon saving status to a csv file.
Kotlin
3
star
17

Android-Retrolambda

All the goodness of J8 Lambdas now on Android (courtesy: retrolambda)
Groovy
3
star
18

octopress-kaush-blog

Kaushik Gopal's Personal Blog
CSS
3
star
19

firefox-userchrome

My userChrome.css
CSS
2
star
20

jekyll-docker-blog-deploy

Docker Image for "deploying" my jekyll blog - blog.jkl.gg
Ruby
2
star
21

Android-ImageCarousel

Android library project that makes it super simple to display a bunch of pictures from your app
Java
2
star
22

rxjava_runner

an RxJava command line helper
Java
2
star
23

Android-IcoButton

Custom view for Android that gives sensible easy buttons
Java
2
star
24

dotfiles

minimal dotfiles
Shell
1
star
25

cmusv_craft

http://journal.kaush.co/software-craftsmanship.html
Ruby
1
star
26

jekyll-docker-blog-build

Docker Image for deploying my jekyll blog - blog.jkl.gg
Dockerfile
1
star
27

try_git

1
star
28

playground-android

Template app that I use as a starting point for dependencies and clean linking/setup
Kotlin
1
star