Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Intro to Android

Avatar for 3bdoelnaggar 3bdoelnaggar
September 29, 2017

Intro to Android

Avatar for 3bdoelnaggar

3bdoelnaggar

September 29, 2017

Other Decks in Programming

Transcript

  1. What is It • OS for Mobile Devices , TVs

    ,Cars,And Soon for Every Thing • Build on Top of Linux Kernel • You can write code in JAVA , Kotlin C and C++ • The Most popular OS for Mobile Device in the World
  2. DVM vs ART • The old guy Dalvik used Just-In-Time

    (JIT) approach in which the compilation was done on demand. All the dex files were converted into their respective native representations only when it was needed. • ART uses the Ahead-Of-Time (AOT) approach, in which the dex files were compiled before they were demanded. This itself massively improves the performance and battery life of any Android device.
  3. What is Really happening • You write mind blowing Java

    code you hit run the build system convert it into byte . Class code and A tool called dx convert Java .class files into the .dex format and the wrap it up into an APK file • Dex format is dalvic executable
  4. What Do you need to Start • Java Development Kit

    JDK • Android Studio with SDK • A PC or Laptop with 2+ GB RAM • Real Android Device is preferred