Android Software Engineer

  Home  Mobile Technologies  Android Software Engineer


“Android Software Engineer post related Frequently Asked Questions in various Android Software Engineer job Interviews by interviewer. The set of questions here ensures that you offer a perfect answer posed to you. So get preparation for your new job hunting”



62 Android Software Engineer Questions And Answers

1⟩ Explain sticky intent in Android?

sendStickyBroadcast() performs a sendBroadcast(Intent) known as sticky, i.e. the Intent you are sending stays around after the broadcast is complete, so that others can quickly retrieve that data through the return value of registerReceiver(BroadcastReceiver, IntentFilter). In all other ways, this behaves the same as sendBroadcast(Intent).

Example of a sticky broadcast sent via the operating system is ACTION_BATTERY_CHANGED. When you call registerReceiver() for that action even with a null BroadcastReceiver you get the Intent that was last broadcast for that action. Hence, you can use this to find the state of the battery without necessarily registering for all future state changes in the battery.

 212 views

2⟩ How does AOSP relate to the Android Compatibility Program?

AOSP stands for Android Open-source project that maintains Android software and keep track of the new versions. It can be used for any purpose including the devices that are not compatible with other devices. It is related to the Android Compatibility Program as it defines the implementation of Android that is compatible with the third party apps.

 154 views

4⟩ Explain Dalvik Virtual Machine?

★ It is Android's virtual machine.

★ It is an interpreter-only virtual machine which executes files in Dalvik Executable (.dex) format. This format is optimized for efficient storage and memory-mappable execution.

 170 views

6⟩ Explain android activities?

Activity provides the user interface. When you create an android application in eclipse through the wizard it asks you the name of the activity. Default name is MainActivity. You can provide any name according to the need. Basically it is a class (MainActivity) that is inherited automatically from Activity class. Mostly, applications have oneor more activities; and the main purpose of an activity is to interact with the user. Activity goes through a numberof stages, known as an activity's life cycle.

 170 views

7⟩ Described the different Storage Methods in android?

Android provides many options for storage of persistent data. It provides the solution according to your need. The storages which have been provided in Android are as follows:-

Shared Preferences: Store private primitive data in key-value pairs

Internal Storage: Store private data on the device memory.

External Storage: Store public data on the shared external storage.

SQLite Databases: Store structured data in a private database.

Network Connection: Store data on the web with your own network server.

 153 views

8⟩ Explain Android Application Architecture?

Android application architecture allows the simplification and reuse of any application. It provides a better way to publish the capabilities of the application so that any other application can make good use of those capabilities. This architecture includes the following components:

Intent: perform some operation on some activity and service

Resource Externalization - such as strings and graphics

Notification signaling users - light, sound, icon etc.

Content Providers - sharing of data between various applications

 163 views

9⟩ Which dialog boxes are supported in android?

There are 4 dialog boxes which have been supported by Android. These are as follows:

AlertDialog: it supports 0 to 3 buttons with a list of selectable elements that includes check boxes and radio buttons.

-ProgressDialog: it displays the progress of any dialog or application. It is an extension of AlertDialog and supports adding buttons.

-DatePickerDialog: it is used to give provision to the user to select the date

- TimePickerDialog: it is used to give provision to the user to select the time

 180 views

10⟩ Explain APK format in Android? How to make an APK file?

APK termed as Application package file is a format that is used to distribute and install the application software for android, and middleware on the android operating system. To make an APK file, first android is compiled and then all of its parts are grouped in one file termed as package. The package consists of the entire program's code (.dex files), resources, manifest file etc. The file is saved with .apk extension.

 189 views

11⟩ Explain Sticky Intent?

Intent is basically an abstract description of an operation that has to be performed for communication. Sticky Intent is also a type of intent which allows the communication between a function and a service. For example: sendStickyBroadcast() performs send Broadcast(Intent) which stays even after the broadcast is complete. It helps in retrieving the data quickly. The message ACTION_BATTERY_CHANGED of an operating system is an example of it.

 154 views

12⟩ How you can translate in Android?

Android uses Google translator to translate data from one language into another language using XAMPP. XAMPP is used to transmit the data. The steps which have to be followed are: Type the message in your language, go to the language setting, a list will be displayed there, select the language from the list to convert your text.

 154 views

13⟩ Explain 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

 168 views

14⟩ Explain real time scenario where android can be used?

Imagine a situation that you are in a country where no one understands the language you speak and you can not read or write. However, you have mobile phone with you.

With a mobile phone with android, the Google translator translates the data of one language into another language by using XMPP to transmit data. You can type the message in English and select the language which is understood by the citizens of the country in order to reach the message to the citizens.

 143 views

15⟩ Why to use Android?

Android is useful because:

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.

 197 views

16⟩ Which dialog boxes that are supported in android? Explain?

Android supports 4 dialog boxes:

AlertDialog : An alert dialog box supports 0 to 3 buttons and a list of selectable elements, including check boxes and radio buttons. Among the other dialog boxes, the most suggested dialog box is the alert dialog box.

ProgressDialog: This dialog box displays a progress wheel or a progress bar. It is an extension of AlertDialog and supports adding buttons.

DatePickerDialog: This dialog box is used for selecting a date by the user.

TimePickerDialog: This dialog box is used for selecting time by the user.

 181 views

17⟩ Described the advantages of Android?

The following are the advantages of Android:

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.

Features like weather details, live RSS feeds, opening screen, icon on the opening screen can be customized

Innovative products like the location-aware services, location of a nearby convenience store etc., are some of the additive facilities in Android.

 166 views

18⟩ Define the exceptions of Android?

The following are the exceptions that are supported by Android

InflateException : When an error conditions are occurred, this exception is thrown

Surface.OutOfResourceException: When a surface is not created or resized, this exception is thrown

SurfaceHolder.BadSurfaceTypeException: This exception is thrown from the lockCanvas() method, when invoked on a Surface whose is SURFACE_TYPE_PUSH_BUFFERS

WindowManager.BadTokenException: This exception is thrown at the time of trying to add view an invalid WindowManager.LayoutParamstoken.

 171 views

20⟩ List the features of 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.

 180 views