In this ever-augmenting world of technology, the smartphones have become a primary entity for the people to survive. As you know, Android is the most feasible and commonly used operating system for mobiles, and the need, scope, and value of the Android Developers are only increasing in the market.
If you have an interview around the corner, we recommend you go through this list of 12 essential interview questions. Also, even if you don’t have an interview, it’s still recommended to go through them – a little revision never hurts!
- Describe the components of an Android Application Architecture.
Android Application Architecture has the following components:
Services: Services run in the background. For example, the facebook notifications, they continue to run, even if you switch the application.
Intent: It forms the interconnection between activities(actions performed on the screen) and the data passing mechanism by passing messages as per the request actions.
Resource Externalization: Externalization of resources is done for the ease to maintain, update and manage the resources.
Notification: It includes light, sound, icon, notification dialog box and toast.
Content Providers: It enables data sharing across different applications with the help of a uniform interface to access the data.
- What is do you mean by an APK format?
Android application package (APK) is the package file format used to install application software and middleware onto an Android operating system.
- What is an Android Manifest File?
Every Android application must possess an AndroidManifest.xml file in its root directory. This file presents essential information about your app to the Android system that it must have before it can run any of the app’s code.
- What are the languages used for Android Application Development?
The android application development is written in Java(Android SDK) and C/C++(Android NDK).
- What does ADT stand for?
ADT stands for Android Development Tool. It is used to develop and test the android applications.
- What does ANR stand for?
ANR is a dialog box that appears when an application is not responding. It stands for “application not responding”.
- What do you mean by ADB in Android?
Android Debug Bridge is a command line utility in Android SDK which lets the system communicate with a device. It can be used to control your device over USB from a computer, to copy files, install and uninstall apps, run shell commands, etc.
- What are the key components of the Android Architecture?
- Linux Kernel
- Android Framework
- Android applications
- What is an AdapterView in Android?
An AdapterView is a group of widgets in Android which includes the ListView, GridView, and Spinner. It also provides the layout of the underlying data for the view.
- What do you mean by a Container in Android?
The container is a description of the views which holds the dynamic content. It is used to hold objects,widgets,labels,fields,icons,buttons.etc.
- What are the notifications available in Android?
- Toast Notification: It shows a pop-up message on the surface of the window.
- Status Bar Notification: It shows the notification on the Status Bar.
- Dialogue Notification: This type of notification is activity related.
- What are the tools available in an Android SDK? Describe them.
- Android: This tool allows you to manage the projects, AVDs and the components installed in the SDK.
- ddms: It is used to debug Android applications.
- Emulator: It is used to test the applications without using any physical device.
- Draw 9-Patch: It is used to create a NinePatch graphic with the help of a WYSIWYG editor.
- mksdcard: It is used to create a disk image that you can use with the emulator.
- Sqlite3: This tool lets you access the SQLite files that are created and used by the Android applications
- Proguard: This tool is used to shrink, optimize, and obfuscate your code by removing the unused code.
- Traceview: It provides a graphical viewer to view the application logs in your application.
- Adb: Adb stands for Android Debug Bridge. It is a versatile command line tool that helps you communicate with a device.
These questions skim through the basics of android app development, and the answers to these questions are a must know for anyone aiming for an android developer role. If you had any problems understanding any of these questions/answers, we recommend you drop by at Coding Ninjas. We have specially curated courses on Android App Development that’ll help you sail through the Android world with ease.