20 Android Interview Questions and Answers : Basic Level
What are the components of Android application?What is Android?
Android is an operating system based on a modified version of Linux kernel and other open source software which was developed by Google and later the Open Handset Alliance (OHA). Contrary to what most of the people think, Android is not a programming language. In other words, Android is an open source operating system used for devices like smartphones and tablet computers.
- Broadcast receiver
- Content providers
Android system most commonly uses JAVA language, though the native C/C++ can also be used to write a program in android.
How Androidpes of Android applications are there?
There are two types of Android applications, namely:
a) Hybrid Applications
b) Native Applications
Who is the founder of android?
Android was invented by Andy Rubin, Rich Miner, Nick Sears and Chris White in the year 2003 in Paolo Alto, California.
What do you understand by the term APK?
APK stands for Android Package, an APK file can be installed on an android device just like installing software on windows. APK files are kind of archive files, to make an APK file an android program is compiled and then all its contents like assets, resources, and certificates are packaged into one file.
What is AAPT?
AAPT stands for Android Asset Packaging Tool, it is a tool that provides developers the ability to deal with zip-compatible archives including creating, extracting and viewing the contents.
Give some disadvantages of Android OS?
Android is categorized a heavy operating system and most apps tend to run in the background even when not in use.
High power consumption rate is inherent to Android-powered devices.
Android is not considered among the safest types of OS and is prone to malware.
High data consumption due to background running of applications.
What are the essential items in an Android application?
Following are the essential items for an android application:
Android Studio is the primary IDE for native Android application management. It is the official Integrated Development Environment for Google’s Android operating system.
What is the earliest version of Android?
The earliest version of Android was, “Android 1.0” and it was released on September 23, 2008.
What is ANR?
ANR is the short form for Application Not Responding; it is a dialogue that appears when an application has been unresponsive for a long period of time. If we run a big application on an OS in main thread we won’t be able to get responses back, so at this point, ANR is displayed.
Which database is used in Android?
Android system uses SQLite database; it is an open source, a lightweight relational database for mobile devices. It is inbuilt in the Android system by default, so one doesn’t need to perform any database setup or administration task.
Give some advantages of Android?
Listed below are the advantages of the Android operating system:
Ease of notification.
Ease of access to several applications
Modified ROMs can be flashed to android devices.
Multitasking is an added benefit.
Multiple language support.
What is activity?
The building block of the user interface is defined as an activity. Activity is a predefined class in Android all the applications which have the user interface (UI0 must inherit it. In other words, we can also define it as a Java code that supports a screen or UI. Activities are central to how a user navigates within an application while serving as an entry point for user’s interaction with an Android application.
What is Android Architecture?
The key components that constitute android architecture are given below:
The intent in an android system can be defined as a notification to the user or developer from within the Android-powered device that is used to alert him/her of a particular state that occurred so that the user can respond to it in a required manner.
What do you mean by AIDL?
AIDL: Android Interface Definition Language is used to handle interface requirements between a client and service so as to accommodate the same level of communication through IPC ( Inter Process Communication).The objects are broken down into primitives that android can understand.
What is Content Provider used for?
A content provider is part of an android system application which is used to provide a way to share data with other applications. In other words, it can be said that content provider manages the access to a repository of data.
What is the use of Android SDK?
Android SDK or Android Software development Kit is used for writing programs. SDK offers comprehensive tools for development of Android applications, some of which are; debugger, libraries, sample code, tutorials, etc. SDK also supports older android versions.