Android Unit1 Unit2 QA
Android Unit1 Unit2 QA
Android is an open-source operating system developed by Google, based on the Linux kernel, mainly used in
Key features:
- Open-source
- Supports Java/Kotlin
- Rich UI components
- Background services
- Inter-app communication
The Dalvik Virtual Machine (DVM) is a part of Android that runs apps. It converts Java bytecode into .dex (Dalvik
Executable) files optimized for mobile devices with less memory and power.
An .apk (Android Package) file is the final packaged file that contains the complete Android app. It includes code,
resources, assets, and the manifest file. It is used to install apps on Android devices.
Views are UI elements like TextView, Button, EditText used to build layouts.
Android Unit 1 & Unit 2 - Questions and Answers
Notifications are messages shown outside the app (e.g., in the notification bar).
Intents are used to move from one activity to another or to start services.
Intent Filters define what type of intents an app component can respond to.
Each Android version has an API level. It helps developers know which features are available.
Examples:
- Permissions
- Compiles code
- Manages libraries
- Handles versioning
An Emulator is a virtual Android device used for testing apps on your computer. You create it in Android Studio to run
Logcat is a tool that shows logs and errors while your app runs. It is useful for debugging.
- Monitoring processes
- Debugging
1. Use breakpoints