My Life with Android
Introduction Android Componets UserInterface Advanced UI Data Storage Advanced Concepts Others New Studio

Android - Basic Interviews Questions

1. What is Android?

Android is an open-source operating system that is used in mobiles, tablets, televisions etc.

2. What are the code names of android?

  • Aestro
  • Blender
  • Cupcake
  • Donut
  • Eclair
  • Froyo
  • Gingerbread
  • Honycomb
  • Ice Cream Sandwitch
  • Jelly Bean
  • Kitkat
  • Lollipop
  • Marshmallow

3.What are the advantages of android?

  • Open-source: It means no licence, distribution and development fee.
  • Supports various technologies: It supports camera, bluetooth, wifi.
  • Highly optimized Virtual Machine: Android uses highly optimized virtual machine for mobile devices, called DVM (Dalvik Virtual Machine).

4.Does android support other language than java?

Yes, android app can be developed in C/C++ also using android NDK (Native Development Kit). It makes the performance faster.

5.What are the core building blocks of android?

  • Activity
  • Service
  • Broadcast Receiver
  • Content Provider

6.What is activity?

Activity is like a window in java that represents GUI. It represents one screen of android.

7.What are the life cycle methods of android activity?

There are 7 life-cycle methods of activity. They are as follows:
  • onCreate()
  • onStart()
  • onResume()
  • onPause()
  • onStop()
  • onRestart()
  • onDestroy()

8.What is intent?

It is a kind of message or information that is passed to the components. It is used to launch an activity, display a web page, send sms, send email etc. There are two types of intents in android:
  1. Implicit Intent
  2. Explicit Intent

10) What is implicit intent in android?

Implicit intent is used to invoke the system components.

11)What is explicit intent in android?

Explicit intent is used to invoke the activity class.

12.What is service in android?

A service is a component that runs in the background. It is used to play music, handle network transaction etc.

13.What is the name of database used in android?

SQLite: An opensource and lightweight relational database for mobile devices.

14.What is AAPT?

AAPT is an acronym for android asset packaging tool. It handles the packaging process.

15.What is content provider?

Content providers are used to share information between android applications.

16.What is fragment?

Fragment is a part of Activity. By the help of fragments, we can display multiple screens on one activity.

17.What is ADB?

ADB stands for Android Debug Bridge. It is a command line tool that is used to communicate with the emulator instance.

18.What is NDK?

NDK stands for Native Development Kit. By using NDK, you can develop a part of app using native language such as C/C++ to boost the performance.

19.What is ANR?

ANR stands for Application Not Responding. It is a dialog box that appears if the application is no longer responding.

20.What is DDMS?

DDMS stands for Dalvik Debug Monitor Server. It gives the wide array of debugging features:
  • Port forwarding services
  • Screen capture
  • Thread and heap information
  • Network traffic tracking
  • Location data spoofing

21.Define Android Architecture?

Android architecture consists of 4 components:
  • Linux Kernal
  • Libraries
  • Android Framework
  • Android Applications

22.Name the dialog box which are supported by android?

  1. Alert Dialog
  2. Progress Dialog
  3. Date Picker Dialog
  4. Time picker Dialog

23.What are the basic tools used to develop an android app?

  1. JDK
  2. Eclipse+ADT plugin
  3. SDK Tools

smenu2

Eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.

smenu3

Eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.