Explore topic-wise InterviewSolutions in .

This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.

1.

What do you mean AIDL?

Answer»

AIDL stands for Android Interface DEFINITION Language. It HANDLES the interface requirements between a CLIENT and a service so both can communicate at the same LEVEL through interprocess communication.

2.

What do you mean by adb?

Answer»

Adb STANDS for Android DEBUG Bridge. It HELPS DEVELOPERS the power to execute remote shell commands. It's basic FUNCTION is to allow and control communication towards and from the emulator port.

3.

Explain the Android Application Architecture?

Answer»

It has FOLLOWING APPLICATION COMPONENTS architecture.

  • Services
  • Intent
  • Resource Externalization
  • Notification
  • Content PROVIDERS
4.

Why we use LINUX ID in android?

Answer»

A unique Linux ID is ASSIGNED to each APPLICATION in ANDROID and it is used for the TRACKING of a process.

5.

Lists life cycle methods of android activity?

Answer»
6.

What do you mean by ActivityCreator?

Answer»

It is a batch FILE and shell script which was USED to create a new ANDROID project. It is now replaced with "Create New Project" in Android SDK.

7.

What do you mean by Service in Android?

Answer»

A SERVICE in ANDROID is a component which runs in the BACKGROUND even when the application is demolished.

8.

In Android, how to insert swipe animation?

Answer»

<set XMLNS:android="HTTP://schemas.android.com/apk/res/android" android:shareInterpolator=”false”>
<translate android:fromXDelta=”-100%”
android:toXDelta=”0%”
android:fromYDelta=”0%”
android:toYDelta=”0%”
android:DURATION=”700"/>
</set>

9.

How android is beneficial for app. developers?

Answer»

Android is one of the most POPULAR MOBILE platform today in the WORLD. App. developer just needs to create and register his app on android platform. After this, any android user from across the globe could download and install his APPLICATION. By just having presence on android platform, an app. developer gets huge market of ready customers.

10.

How to mention an activity in manifest file?

Answer»

<manifest></manifest>
<APPLICATION></application>
<ACTIVITY ANDROID:name="”.MyIntellipaat”"> </activity>

11.

Could you name a few key components of Android?

Answer»

Key components of android INCLUDES VIEW, intent, service, activity, FRAGMENT, content PROVIDER & android virtual DEVICE.

12.

What do you understand by ANR dialogue box?

Answer»

ANR stands for Application not responding . This DIALOGUE box appears when any application is no LONGER WORKING .

13.

What is an android toast ?

Answer»

An ANDROID toast is a form of MESSAGE, which REFLECT for a user in terms of feedback. This message reflect for a very SHORT TIME & goes away automatically.

Example

Toast.makeText(getApplicationContext(),"Best Interview Questions",Toast.LENGTH_SHORT).show();

14.

What is an Android Virtual Device?

Answer»

An Android Virtual Device is a device configuration that is run with the Android emulator. Android virtual device is used to TEST an application without any mobile or a tablet. It WORKS on Android Emulator which gives a virtual device facilities. It gives the platform to INSTALL &AMP; run the application in order to test it.

15.

How could we move the data in sub activity?

Answer»

Data COULD be moved from one ACTIVITY to another with the help of bundles.
To KNOW the coding, refer below :

EXAMPLE

Bundle b=new Bundle();
b.putString(“Email”, “[email protected]”);
i.putExtras(b); //where I is INTENT

16.

What do you mean by intent in Android ?

Answer»

INTENT is sort of INSTRUCTION or information which is given to the components. Such as opening of any game, online PAGE , send email & so on. Intent is further divided into 2 parts, which are Implicit & EXPLICIT Intent.

17.

Kindly name few of the last code given to android different versions?

Answer»

Nougat, MARSHMALLOW, Lollipop, KITKAT, JELLY Bean, ICE CREAM, Sandwitch & Honeycomb are the few of the last codes used for android versions .

18.

What do you mean by ANR in Android ?

Answer»

ANR stands for Application Not RESPONDING. This pop-up comes when any application gets extra load , due to which it becomes UNRESPONSIVE to open.

36. Is it possible to share similar Linux user I’d & same VIRTUAL machine in Android . If yes how ?

Yes , it could be possible when applications are signed with one certificate.

19.

What does ADB stands for & what is it’s primary function?

Answer»

ANDROID DEBUG Bridge is the FULL form of ADB. ADB could control sharing of files along with cut & copy function of any PC from your system with the help of a USB.

20.

What is singleton class in Android?

Answer» 33. What is the NAME of debugging tool AVAILABLE in Android?
21.

What are the advantages of using fragment compared to activity?

Answer»
22.

What is the ontrimmemory() method Android?

Answer»
23.

How does job scheduler work in Android?

Answer»
24.

What are Launch modes in Android?

Answer»
25.

Why can't we run standard Java bytecode on Android?

Answer»
26.

Why enumeration is faster than iterator?

Answer»
27.

How to use firebase realtime database in your app in Android?

Answer»
28.

How to measure method execution time in Android?

Answer»
29.

What are the disadvantages of using robolectric in Android?

Answer»
30.

What is the difference between MVC MVP and MVVM in Android?

Answer» 22. How to MAKE offline first APP in ANDROID?
31.

What is the use of dependency injection in Android?

Answer»
32.

How to create custom Annotation in Android?

Answer»
33.

What is the best way to update the screen periodically in Android?

Answer»
34.

How do you troubleshoot a crashing application in android?

Answer»
35.

What is the use of LiveData in Android?

Answer»
36.

What is Android Jetpack and why to use this?

Answer»
37.

How to reduce battery usage in an android application?

Answer» 13. What is the DIFFERENCE JVM, DVM and ART?
38.

How do you find memory leaks in Android applications?

Answer»
39.

How do you manage portrait and landscape on Android?

Answer»
40.

How do you handle bitmaps in Android as it takes too much memory?

Answer»
41.

What happens to AsyncTask if activity is destroyed?

Answer»
42.

What is the use of BroadcastReceiver in Android?

Answer»
43.

What is the ViewHolder pattern? Why should we use it?

Answer»
44.

What is the difference between RecyclerView and ListView in android?

Answer»
45.

How are Android touch events delivered?

Answer»
46.

What are the different Viewgroups in Android?

Answer»
47.

How do you make a view visible and invisible on Android?

Answer»
48.

How to communicate between two fragments in Android?

Answer»