CH 1
CH 1
W23
(Define Activity and Activity lifecycle. Draw and mention the significant role of each state. 07
Q.2 (a) Discuss Fragments in Android? 03
(b) What is AVD? Explain the process of creating AVD in Android application development.
04 (c) What is Android? Explain Android Architecture with neat diagram. 07
W22
S24
S23
(b) Differentiate between Activity and Fragment with respect to Android App.04
S22
(b) What is AVD? Explain the process of creating AVD in Android application.
W23 (c): Explain the activity life cycle in Android with example. (07 Marks)
W23 Q.1 (Define Activity and Activity lifecycle. Draw and mention the significant
role of each state.) (07 Marks)
S22 (c): Write a note on: Activity Life Cycle. (07 Marks)
W23 Q.2 (b): What are fragments? Explain fragments life cycle. (04 Marks)
S23 (b): Differentiate between Activity and Fragment with respect to Android App.
(04 Marks)
W23 Q.2 (a): What is Service? Differentiate between Activity and Service. (03 Marks)
S22 (a): What is Service? Differentiate between Activity and Service. (03 Marks)
W23 Q.2 (b): What is AVD? Explain the process of creating AVD in Android
application development. (04 Marks)
S22 (b): What is AVD? Explain the process of creating AVD in Android application. (04
Marks)
📜 5. AndroidManifest.xml
W23 (b): State the significance of Android Manifest file. (04 Marks)
📂 6. Bundle in Android
S23 Q.2 (a): How Bundle can be used in Android App? (03 Marks)
🧠 7. DVM – Dalvik Virtual Machine
W23 Q.2 (c): What is Android? Explain Android Architecture with neat diagram. (07
Marks)
W22 (b): List and Explain components of android SDK. (04 Marks)
W22 (a): What are the advantages of android operating system? (03 Marks)
Downloading/uploading files
UI Presence Has a user interface (UI). Runs in the background with no UI.
Used for presenting screens and Used for background tasks (e.g., music,
Use Case
getting input. downloads).
Ends when user exits or system Can keep running even when app is
Termination
kills it. closed (if needed).
✅ Example Scenarios:
Example:
bundle.putString("username", "JohnDoe");
intent.putExtras(bundle);
startActivity(intent);
Example:
@Override
outState.putInt("score", currentScore);
super.onSaveInstanceState(outState);
}
Example:
args.putInt("user_id", 123);
fragment.setArguments(args);
🔹 4. Inter-process Communication
Bundles are used in Intent and Messenger for passing data between components or
services.
🟢 In Summary:
The Bundle class is essential for data sharing and state preservation in Android applications,
making it a key tool in effective app component communication.
Let me know if you'd like this turned into a short-answer format or expanded into an
assignment answer.
In Android, the strings.xml file is used to define and manage all string resources (text
content) for the application in a centralized and organized way.
All UI text such as labels, messages, button text, and headings are stored in
res/values/strings.xml.
🔹 2. Supports Localization
🔹 3. Easy Reusability
Example:
<string name="app_name">MyApp</string>
Used in code:
Keeps the UI text separate from the Java/Kotlin code, following best practices for app
design.
✅ In Summary:
The strings.xml file plays a vital role in maintaining, reusing, and localizing text content in
Android apps efficiently.
Would you like a sample strings.xml file or an example showing multilingual support?