This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
What is AIDL? Which data types are supported by AIDL? |
|
Answer» AIDL(Android Interface Definition Language) is a tool that handles the interface requirements between a client and a service for INTERPROCESS communication(IPC) to COMMUNICATE at the same level. The process involves DIVIDING an object into PRIMITIVES that are understood by the Android OPERATING system. Data Types supported by AIDL is as follows:
|
|
| 2. |
What is DDMS? |
|
Answer» DDMS(Dalvik Debug Monitor Server) is a debugging tool in the ANDROID platform. It gives the following list of debugging features: |
|
| 3. |
What is Android Debug Bridge(ADB)? |
|
Answer» Android DEBUG Bridge is a command-line tool used to allow and control communication with an emulator instance. It gives the power for developers to EXECUTE REMOTE shell commands to RUN applications on an emulator. |
|
| 4. |
What is portable Wi-Fi hotspot? |
|
Answer» PORTABLE Wi-Fi Hotspot permits you to share your mobile internet connection with other wireless devices. For example, using your ANDROID PHONE as a Wi-Fi hotspot, you can use your laptop to CONNECT to the internet using that access POINT. |
|
| 5. |
What is AAPT? |
|
Answer» AAPT stands for Android Asset PACKAGING Tool. It is a build tool that GIVES the ability to developers to view, create, and UPDATE ZIP-compatible archives (zip, jar, and APK). It parses, indexes, and compiles the resources into a binary format that is optimized for the platform of Android. |
|
| 6. |
What is an Adapter in Android? |
|
Answer» An ADAPTER in ANDROID acts as a BRIDGE between an AdapterView and the underlying data for that view. The adapter holds the data and SENDS the data to the adapter view, the view can take the data from the adapter view and shows the data on different views like a spinner, list view, grid view, etc. |
|
| 7. |
What is the use of Bundle in Android? |
|
Answer» Bundles are USED to pass the required data between various Android activities. These are like HASHMAP that can TAKE trivial data types. Below code shows how to transfer a piece of data by USING bundle: Bundle B=new Bundle();b.putString("Email","abc@xyz.com");i.putExtras(b); // where i is intent |
|
| 8. |
What is Google Android SDK? Which are the tools placed in Android SDK? |
|
Answer» The Google Android SDK is a toolset used by developers to write applications on Android-enabled devices. The tools placed in Android SDK are given below:
|
|
| 9. |
Differentiate Activities from Services. |
||||||||
|
Answer» Activities can be terminated or closed anytime the user wishes. On the other HAND, services are designed to run in the background, and they can ACT independently. Most of the services run continuously, irrespective of whether there are CERTAIN or no activities being executed.
|
|||||||||
| 10. |
What is a service in Android? |
|
Answer» SERVICE is an APPLICATION component that FACILITATES an application to run in the background in order to perform long-running operations without user interaction. A service can run continuously in the background even if the application is closed or even after the user switches to ANOTHER application. |
|
| 11. |
What is an activity? |
|
Answer» Activity in java is a single SCREEN that REPRESENTS GUI(Graphical User Interface) with which users can interact in order to do SOMETHING like dial the phone, view email, etc. For example, the Facebook start page where you enter your email/phone number and password to LOG in acts as an activity. |
|
| 12. |
List the languages used to build Android. |
|
Answer» The most popular programming languages that can be used to develop applications in Android are:
|
|
| 13. |
What are the features of Android architecture? |
|
Answer» Android architecture refers to the various layers in the Android stack. It consists of operating systems, middleware, and applications. Each layer in the Android architecture gives different services to the layer just above it. The five layers present in the Android stack are:
|
|
| 14. |
What is Android? |
|
Answer» ANDROID is an open-sourced operating SYSTEM that is used on mobile devices, such as mobiles and tablets. The Android APPLICATION executes within its own process and its own instance of Dalvik Virtual MACHINE(DVM) or Android RUNTIME(ART). |
|