The document provides an overview of key concepts in Android development, including the purpose of AndroidManifest.xml, various layout managers, and the functionality of AVD and emulators. It also covers essential components like Fragments, Intents, and UI controls, as well as the structure of an Android application and the Activity life cycle. Additionally, it discusses the use of SQLite and Cursors for database management.
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 ratings0% found this document useful (0 votes)
3 views
android imp q
The document provides an overview of key concepts in Android development, including the purpose of AndroidManifest.xml, various layout managers, and the functionality of AVD and emulators. It also covers essential components like Fragments, Intents, and UI controls, as well as the structure of an Android application and the Activity life cycle. Additionally, it discusses the use of SQLite and Cursors for database management.
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/ 3
1.
ADT stands for
ADT (Android Development Tools) was a plugin for Eclipse that helped in developing Android applications. It provided tools for UI design, debugging, and performance analysis but was replaced by Android Studio.
2. Purpose of androidmanifest.xml
AndroidManifest.xml is an essential configuration file for an Android app. It:
● Defines app permissions ● Specifies hardware and software requirements ● Sets app themes and launcher icons.
3. Different types of layout managers.
Android provides several layout managers for designing UI:
● LinearLayout – Arranges views in a single row/column
● RelativeLayout – Positions views relative to each other ● ConstraintLayout – Uses constraints for flexible layouts ● FrameLayout – Overlaps multiple views ● TableLayout – Displays elements in rows and columns ● GridLayout – Organizes views in a grid
4. AVD and Emulator
● AVD (Android Virtual Device): A configuration that defines an Android emulator's hardware and software settings. ● Emulator: A virtual Android device that simulates a real device for testing apps without using physical hardware.
5. Why do we need Fragments in Android?
Fragments allow modular UI design and flexibility in multi-screen devices. They: ● Allow reuse of UI components ● Improve performance by loading part of the UI instead of reloading an entire activity ● Support dynamic and flexible UI designs
6. How does Toast work in Android?
A Toast is a short message displayed to the user. It appears for a few seconds and disappears automatically.
7. What is the base class of the Android database?
The base class for managing databases in Android is SQLiteOpenHelper. It simplifies database creation, version management, and migration. 8. What are the uses of the Spinner control in Android? A Spinner is a dropdown menu that allows users to select an option.
9. What is an Intent in Android?
An Intent is a messaging object that allows communication between components (activities, services, broadcast receivers).
10.What are Android Java packages?
Important Java packages in Android: ● android.app – App components ● android.view – UI rendering ● android.widget – UI elements ● android.content – App interactions ● android.database – Database handling
11.Name the different UI controls available in Android.