Android Interview Questions – Set 03

How are view elements identified in the android program?

View elements can be identified using the keyword findViewById.

What is ADB?

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

What is a portable wi-fi hotspot?

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

Can the bytecode be written in java be run on android?

No

Does android support other languages than java?

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

Name the dialog box which is supported by Android?

  • Alert Dialog
  • Progress Dialog
  • Date Picker Dialog
  • Time picker Dialog

What is View Group 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 service in android?

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

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.

Define Android toast.

An android toast provides feedback to the users about the operation being performed by them. It displays the message regarding the status of operation initiated by the user.