Android Interview questions
In this blog, we discuss the top questions and answers that android developers face during interviews to get their dream job.
1 . What is Android ?
Android is an open-source operating system firstly used on mobile devices such as cell phones and tablets. Now its usage has been widened. TV, Car, Watch, POS Systems, and many more embedded systems are using Android.
It is a kernel-based system that has been equipped with rich components that allow developers to create and run apps that can perform both basic and advanced functions.
2 . What is Android SDK ?
It is a toolset that developers need in order to write apps on android enabled devices. It contains a graphical interface that emulates an android driven handled environment, allowing them to test and debug their codes.
3 . What is Android Architecture ?
It comprises main four components.
1. Linux Kernel
2. Libraries
3. Android Framework
4. Android Applications
4 . Describe the Android Framework ?
The Android Framework is an important aspect of Android Architecture. Here we can find all the classes and methods that developers would need in order to write applications in the Android Environment.
5 . What is AAPT ?
Android Asset Packaging Tool provides developers with the ability to deal with zip-compatible archives, which includes creating, extracting as well as viewing its contents.
6 . What is the importance of having an emulator with in the Android Environment ?
The emulator helps developers to play/test around interfaces that act as if they were an actual mobile device. Developers can write, test and debug codes. It is quite helpful to test across a wide range of different devices with different Android versions.
7 . What are Activities ?
Activities are windows to a user interface. An activity is a single, focused thing that the user can do. Almost all activities interact with the user, so the Activity class takes care of creating a window for you in which you can place your UI with setContentView(View).
8 . What is intent ?
An intent is an abstract description of an operation to be performed. It can be used with startActivity to launch an Activity, broadcastIntent to send it to any interested BroadcastReceiver components, and Context.startService() or Context.bindService(Intent, ServiceConnection, int) to communicate wtih a background Service.
An Intent provides a facility for performing late runtime binding between the code in different applications. Its most significant use is in the launching of activities, where it can be thought of as the glue between activities. It is basically a passive data structure holding an abstract description of an action to be performed. There are two primary forms of intents Explicit and Implicit.
… will be updated with other questions soon…