Android Operating System (Mobile OS)
Android OS is a mobile operating system developed by Google. It is used in smartphones, tablets,
and other smart devices.
Purpose:
- Provides a platform to run mobile applications
- Manages hardware and software resources
Architecture of Android OS:
1. Linux Kernel: Core layer that manages hardware, memory, and processes.
2. Libraries: Pre-built components like graphics and database (SQLite).
3. Android Runtime (ART): Executes apps by converting code into machine language.
4. Application Framework: Provides services like Activity Manager and Notification Manager.
5. Applications: Apps used by users such as WhatsApp and YouTube.
Key Features:
- Open-source
- Multitasking
- User-friendly
- Customizable
Important Concepts:
- APK: File format for installing apps
- Activity: A single screen in an app
- Intent: Used to move between screens
- Permissions: Controls access to device features
Working:
User opens app → OS processes request → Kernel interacts with hardware → Output displayed
Advantages:
- Supports many devices
- Easy development
- Large user base
- Flexible system
Scenario Examples:
1. App not opening → issue with runtime or compatibility
2. App asks for camera → permission system
3. Switching apps → multitasking
4. Moving between screens → intent