Android 2 Years Experience Interview Questions

What is a Portable Wi-Fi Hotspot?

Portable Wi-Fi Hotspots allow you to share your mobile internet connection with other wireless devices. For example, your Android-powered phone can be used as a Wi-Fi Hotspot to make your laptop connect to the internet.

What is an Implicit Intent?

In an implicit intent, only the intent is declared and the activity that can respond to the intent is left to the platform. Here the target component is not declared, hence it is usually used for activating components of other applications as well.

21) How are escape characters used as attribute?

Escape characters are preceded by double backslashes. For example, a newline character is created using ‘ ’

46) Do all mobile phones support the latest Android operating system?

Some Android-powered phone allows you to upgrade to the higher Android operating system version. However, not all upgrades would allow you to get the latest version. It depends largely on the capability and specs of the phone, whether it can support the newer features available under the latest Android version.

What is ADB?

ADB is abbreviation of Android Debug Bridge. It provides developers the power to execute remote shell commands. Its basic function is to allow and control communication, to and fro from the emulator port.

What is the significance of XML-based layouts?

XML-based layouts provides consistent and somewhat a standard means of setting GUI definition format. As a general practice, the layout details are placed in XML files, whereas other items are placed in source files.

What is an AndroidManifest file?

Applications confirm their components like the .apk file that also holds the application’s code, files, and resources in a manifest file that’s bundled into the Android package. The manifest is a structured XML file and is always named AndroidManifest.xml for all applications. It is also used for naming libraries the application that needs to be linked and identifying any permissions the application expects to be granted.

42) How do you remove icons and widgets from the main screen of the Android device?

To remove an icon or shortcut, press and hold that icon. You then drag it downwards to the lower part of the screen where a remove button appears.

What is a NinePatch (9-patch) image?

It is a resizable bitmap resource that can be used for backgrounds or other s on a device. NinePatch class permits drawing a bitmap in nine sections. The 9-patch s have an extension as .9.png. It allows extensions in 9 ways, i.e., 4 corners that are unscaled, 4 edges that are scaled in 1 axis, and the middle one that can be scaled into both axes.

android 2 years experience interview questions

37) What data types are supported by AIDL?

AIDL has support for the following data types:

-string -charSequence -List -Map -all native Java data types like int,long, char and Boolean

A fragment is a part or portion of an activity. It is modular in a sense that you can move around or combine with other fragments in a single activity. Fragments are also reusable.

What’s the difference between a file, a class and an activity in android?

  • File – It is a chunk of arbitrary information, or resource for storing information.
  • Class – It’s a compiled form of Java file. Android uses the .class files to produce an executable apk
  • Activity – An activity is the comparable to a Frame/Window in GUI toolkits. It is not a file or a file type it is just a class that can be extended in Android for loading UI elements on view.
  • Senior Android Developer Interview Process & Interview Preparation ,interview tips by Sanjay Samuel

    Related Posts

    Leave a Reply

    Your email address will not be published. Required fields are marked *