Home / Interview / Android :: General Questions

Interview :: Android

41) Which types of flags are used to run an application on Android?

Following are two types of flags to run an application in Android:

  • FLAG_ACTIVITY_NEW_TASK
  • FLAG_ACTIVITY_CLEAR_TOP
42) What is a singleton class in Android?

A singleton class is a class which can create only an object that can be shared by all other classes.

43) What is sleep mode in Android?

In sleep mode, CPU is slept and doesn't accept any commands from android device except Radio interface layer and alarm.

44) What do you mean by a drawable folder in Android?

In Android, a drawable folder is compiled a visual resource that can use as a background, banners, icons, splash screen, etc.

45) What is DDMS?

DDMS stands for Dalvik Debug Monitor Server. It gives the wide array of debugging features:

  1. Port forwarding services
  2. Screen capture
  3. Thread and heap information
  4. Network traffic tracking
  5. Location data spoofing
46) Define Android Architecture?

The Android architecture consists of 4 components:

  1. Linux Kernal
  2. Libraries
  3. Android Framework
  4. Android Applications
47) What is a portable wi-fi hotspot?

The portable wi-fi hotspot is used to share internet connection to other wireless devices.

48) Name the dialog box which is supported by Android?
  • Alert Dialog
  • Progress Dialog
  • Date Picker Dialog
  • Time picker Dialog
49) Name some exceptions in Android?
  • Inflate Exception
  • Surface.OutOfResourceException
  • SurfaceHolder.BadSurfaceTypeException
  • WindowManager.BadTokenException
50) What are the basic tools used to develop an Android app?
  • JDK
  • Eclipse+ADT plugin
  • SDK Tools