Here you can find Android Interview Questions and Answers.
In this Android Interview Questions and Answers section you can learn and practice Android Interview Questions and Answers to improve your skills in order to face technical inerview by IT companies. By Practicing these interview questions, you can easily crack any Android interview.
AllIndiaExams provides you lots Android Interview Questions and Answers with proper explanation. Fully solved examples with detailed answer description. All students, freshers can download Android Interview Questions and Answers as PDF files and eBooks.
You no need to worry, we have given lots of Android Interview Questions and Answers and also we have provided lots of FAQ's to quickly answer the questions in the Android technical interview.
What is Android?
Android is a stack of software for mobile devices which includes an Operating System, middleware and some key applications. The application executes within its own process and its own instance of Dalvik Virtual Machine. Many Virtual Machines run efficiently by a DVM device. DVM executes Java languages byte code which later transforms into .dex format files.
What are the advantages of Android?
It is simple and powerful SDK. Licensing, Distribution or Development fee is not required. Easy to Import third party Java library. Supporting platforms are – Linux, Mac Os, Windows. Innovative products like the location-aware services, location of a nearby convenience store etc., are some of the additive facilities in Android. Components can be reused and replaced by the application framework. Optimized DVM for mobile devices. SQLite enables to store the data in a structured manner. Supports GSM telephone and Bluetooth, WiFi, 3G and EDGE technologies. The development is a combination of a device emulator, debugging tools, memory profiling and plug-in for Eclipse IDE. The customer will be benefited from wide range of mobile applications to choose, since the monopoly of wireless carriers like AT&T and Orange will be broken by Google Android.
Describe Android Application Architecture?
Android Application Architecture has the following components: Services – like Network Operation Intent - To perform inter-communication between activities or services Resource Externalization - such as strings and graphics Notification signaling users - light, sound, icon, notification, dialog etc. Content Providers - They share data between applications
How will you record a phone call in Android? How to get a handle on Audio Stream for a call in Android?
Permissions.PROCESS_OUTGOING_CALLS: Allows an application to monitor, modify, or abort outgoing calls.
What is activity?
The building block of the user interface is the activity. They're in a long-running conversation with the user and may remain active, even when idle, as long as the conversation continues. In terms of desktop development, an Activity is equivalent to a Form.
Describe the APK format?
The (Android Packaging Key) APK file is compressed format of the AndroidManifest.xml file, application code (.dex files), resource files, and other files. A project is compiled into a single .apk file.
What are the different phases of the Activity life cycle?
As an activity transitions from state to state, it is notified of the change by calls to the following protected methods: 1) void onCreate(Bundle savedInstanceState) 2) void onStart() 3) void onRestart() 4) void onResume() 5) void onPause() 6) void onStop() 7) void onDestroy() Taken together, these seven methods define the entire lifecycle of an activity.
What is intent?
A class (Intent) describes what a caller desires to do. The caller sends this intent to Android’s intent resolver, which finds the most suitable activity for the intent. E.g. opening a PDF file is an intent, and the Adobe Reader is the suitable activity for this intent.
What is an Explicit Intent?
In an explicit intent, we actually specify the activity that is required to respond to the intent. In other words, we explicitly designate the target component. This is typically used for application internal messages.
What is an Implicit Intent?
In an implicit intent, the main power of the android design, we just declare an intent and leave it to the platform to find an activity that can respond to the intent. Here, we do not declare the target component and hence is typically used for activating components of other applications seamlessly