[go: up one dir, main page]

0% found this document useful (0 votes)
5 views5 pages

1 Android Introduction Detailed

The document provides an introduction to Android development, covering the Android OS, language choices (Java vs Kotlin), and the features of Android Studio. It outlines the architecture layers of Android, including the Linux kernel, HAL, Android Runtime, frameworks, and application layers, as well as project structure and resources. Additionally, it compares APK and AAB formats, highlighting key takeaways such as the preference for Kotlin and the importance of build variants in release workflows.

Uploaded by

rohit.mybox
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views5 pages

1 Android Introduction Detailed

The document provides an introduction to Android development, covering the Android OS, language choices (Java vs Kotlin), and the features of Android Studio. It outlines the architecture layers of Android, including the Linux kernel, HAL, Android Runtime, frameworks, and application layers, as well as project structure and resources. Additionally, it compares APK and AAB formats, highlighting key takeaways such as the preference for Kotlin and the importance of build variants in release workflows.

Uploaded by

rohit.mybox
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

ANDROID DEVELOPMENT – INTRODUCTION

• Overview of Android OS:


- Built on Linux kernel
- Open-source (AOSP), maintained by Google
- Market share & ecosystem

• Language Choices:
- Java vs Kotlin (preferred)
- Interoperability, coroutines, null safety

• Android Studio:
- Based on IntelliJ IDEA
- Layout Editor (Design/Text)
- APK Analyzer, Profiler, Emulators
- Plugins and templates

• Build System:
- Gradle: build.gradle (Project vs Module)
- Build variants, flavors, signing configs
- Dependency management (Maven Central, JitPack)
ANDROID ARCHITECTURE LAYERS

1. Linux Kernel:
- Drivers, power management, security

2. HAL (Hardware Abstraction Layer):


- Interfaces for camera, audio, sensors

3. Android Runtime:
- ART (Ahead-of-Time compilation)
- Dalvik (legacy, JIT)

4. Framework & Libraries:


- View system, Resource Manager, Notification Manager
- SQLite, WebKit, OpenGL

5. Application Layer:
- Pre-installed apps, third-party apps
PROJECT STRUCTURE & RESOURCES

• Manifest (AndroidManifest.xml):
- Application components, permissions, metadata

• Java/Kotlin Source:
- src/main/java or src/main/kotlin

• Resources:
- res/layout, res/drawable, res/values (strings, styles)
- resource qualifiers: hdpi, xlarge, night mode

• Gradle Scripts:
- build.gradle (module): configurations, plugins
- settings.gradle: module inclusion
APK vs AAB

• APK (Android Package):


- Single-file installable package
- Larger size, less optimized for device

• AAB (Android App Bundle):


- Contains multiple configurations
- Google Play generates optimized APK per device
- Benefits: smaller downloads, on-demand features
KEY TAKEAWAYS

• Kotlin is now the first-class language


• Android Studio’s profilers help optimize performance
• Understanding build variants improves release workflows

You might also like