javantura v4 - android app development in 2017 - matej vidaković

15
Matej Vidaković Android app development in 2017

Category:

Technology


0 download

TRANSCRIPT

Matej Vidaković

Android app development

in 2017

What’s up with Android Java?

● Some Java 8 feature support (in theory)

● Libs that help

○ Retrolambda

○ Lightweight-Stream-API

● Dalvik vs ART

● Alternatives?

○ Kotlin

○ Scala

○ Groovy

○ …

Which IDE to use?

● Eclipse - no longer officially supported

● Android Studio - official IDE

● NetBeans, IDEA - Android plugins

What makes Android Studio so cool?

● Modified IDEA

● Gradle build system support

○ Easily customizable

○ Build variants (type x flavor)

● Emulator now actually fast

I’m still not convinced...

● Android specific static code analysis (support annotations)

● Profiling tools

● Instant run

● Vector drawable

● Data Binding

● Samples browser

● Apk analyzer

● Layout inspector

● ...

What about testing?

● Local

○ No Android dependencies

○ Run on local JVM

● Instrumented

○ Android dependencies

○ Run on device or emulator

● JUnit 4

● Espresso UI testing

● Test recorder (beta)

Support library

MultidexPalette

Test

RecyclerView

Design

GridLayout

Leanback

Annotations

Percent

MediaRouterCardView

How to support ancient versions?

Appcompat

Is 64k method limit still a thing?

● Yes…

● Check method count of libs at methodscount.com

● Use Proguard / Dexguard (@Keep)

● If all else fails - Multidex

How should my app look like?

And how do I do that?

● Design guidelines - material.io/guidelines

● Standard icons - material.io/icons

● Support libs

○ Design

○ Appcompat

○ CardView

○ Palette

○ Percent

● Material Design Android Library

Some things never change...

Where can I learn more?

● Udacity.com - basic and advanced Android nanodegrees

● Coursera.org - Android App Development Specialization

● Android Programming: The Big Nerd Ranch Guide book (new

edition coming this month)

● Caster.io

● Google codelabs

Cool presentation, but I already knew all that…ool talk, but I already know all of that…

five.agency/about/careers/