Android Interview Questions & Answers

  • Home
  • Interview_Question

Interview Questions & Answers

Select Series

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.

Describe Android application Architecture?

Android application architecture has the following components.They are as follows − Services − It will perform background functionalities Intent − It will perform the inter connection between activities and the data passing mechanism Resource Externalization − strings and graphics Notification − light,sound,icon,notification,dialog box,and toast Content Providers − It will share the data between applications

What is the APK format?

The Android packaging key is compressed with classes,UI's, supportive assets and manifest.All files are compressed to a single file is called APK.

What is An Intent?

It is connected to either the external world of application or internal world of application ,Such as, opening a pdf is an intent and connect to the web browser.etc.

What is an explicit Intent?

Android Explicit intent specifies the component to be invoked from activity. In other words, we can call another activity in android by explicit intent.

What is an implicit Intent?

Implicit Intent doesn't specifiy the component. In such case, intent provides information of available components provided by the system that is to be invoked.

What is An android manifest file?

Every application must have an AndroidManifest.xml file (with precisely that name) in its root directory. The manifest file presents essential information about your app to the Android system, information the system must have before it can run any of the app's code.

What language does android support to develop an application?

Android applications has written using the java(Android SDK) and C/C++(Android NDK).

What do ADT stands for?

ADT stands for Android development tool,This is useful to develop the applications and test the applications.

What are the tools are placed in An Android SDK?

Android SDK collaborated with Android Emulator,DDMS(Dalvik Debug Monitoring Services),AAPT(Android Asset Packaging tool) and ADB(Android debug bridge).

What is viewGroup in android?

View group is a collection of views and other child views, it is an invisible part and the base class for layouts.

What is a service in android?

The Service is like as an activity to do background functionalities without UI interaction.

What is container in android?

The container holds objects,widgets,labels,fields,icons,buttons.etc.

What is ADB in android?

It is acts as bridge between emulator and IDE, it executes remote shell commands to run applications on an emulator.

What is shared preferences in android?

Shared preferences are the simplest mechanism to store the data in XML documents.

What are the key components in android architecture?

1-Linux Kernel 2-Libraries 3-Android Framework 4-Android applications.

What does the intent filter do in android?

Intent filters are filter out the intents.

How many dialog boxes do support in android?

AlertDialog, ProgressDialog,DatePickerDialog, and TimePickerDialog

What are the exceptions available in android?

InflateException, Surface.OutOfResourceException, SurfaceHolder.BadSurfaceTypeException,and WindowManager.BadTokenException

What is the order of dialog-box in android?

Positive, Neutral, Negative.