Android interview questions with answers

Android interview questions with answers

Here are some of the Android interview questions and answers to help you if you are planning on attending an interview.
  1. What is Android?
Ans.
Android is an open source operating system that is mainly used on mobile devices like tablets and Smartphones. Its operations are mainly based on the Linux kernel system which comprises of rich elements that enable developers to develop and run apps that are able to carry out both basic and advanced functions.
  1. What are intents?
Ans.
Intents display messages of notification from within the Android enabled device to the user. Intents are used to notify the user when a particular state occurs, and users have the opportunity to respond to the notification.
  1. What is ANR?
Ans.
ANR is the acronym for Application Not Responding. When an application is unresponsive for a long time, the dialogue shows up to let the user know about the situation.
  1. What is Orientation?
Ans.
Orientation dictates whether the LinearLayout is represented as a column or a roll, when it is set using setOrientationa(). The values are set as VERTICAL or as HORIZONTAL.
  1. What is adb?
Ans.
Adb simply stands for Android Debug Bridge. It presents developers with the power to perform shell commands that are remote. Its major work is to permit and direct communication towards and from the emulator port.
  1. What is the Google Android SDK?
Ans.
Google Android SDK is a set of tools required by developers to enable them write apps on Android enabled devices. It has a graphical interface which imitates an Android handheld environment, enabling them in testing and debugging their codes.
  1. What is Android Architecture?
Ans.
Android Architecture consists of 4 main elements
  • Linux Kernel
  • Android Framework
  • Android Applications
  • Libraries
  1. How can we use escape characters as attributes?
Ans.
Escape characters usually have backlashes before them. For instance, one can create a newline character with the use of ‘\\n’
  1. Differentiate between Activities and Services
Ans.
A user can close or terminate activities anytime he/she wishes to do so. Services, on the other hand, run behind the scene and are able to act in an independent manner. Whether or not there are certain activities being executed, the majority of services run continuously.
  • If your a fresher, then expect this as the first question. Prepare an introduction about Android.

Comments

Popular posts from this blog

Display All Contacts from Contacts application in ListView

Most important topics: