MAD_Viva_Questions_Android_Java
MAD_Viva_Questions_Android_Java
1. What is Android?
Android is an open-source operating system based on the Linux kernel, primarily used for mobile
An Activity represents a single screen with a user interface, like a window or a page in an app.
It is a configuration file that contains essential information about the app, such as its components
and permissions.
Explicit Intent specifies the component to start, while Implicit Intent does not; the system determines
A Service is a component that runs in the background to perform long-running operations without a
user interface.
The main stages are: onCreate(), onStart(), onResume(), onPause(), onStop(), onDestroy().
It allows you to save data during a configuration change like screen rotation.
9. What is a Fragment?
You can use SharedPreferences, SQLite database, internal storage, or external storage.
AsyncTask allows you to perform background operations and publish results on the UI thread.
RecyclerView is a flexible view used for displaying large sets of data efficiently.
dp (density-independent pixels), sp (scale-independent pixels for fonts), px (pixels) are units used
Logcat is used to view log messages from your Android device or emulator.
Permissions are required to access protected features like camera, internet, or storage.