Fatskills
Practice. Master. Repeat.
Study Guide: Android Interview Questions & Answers
Source: https://www.fatskills.com/android-programming/chapter/android-interview-questions-answers

Android Interview Questions & Answers

By Fatskills Exam Guides Team — the exam nerds behind 28,500+ quizzes and 2.1M practice questions across 500+ global exams.

⏱️ ~4 min read

Q 1. What does ADB stands for & what is it's primary function?
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.

Q 2. What do you mean by ANR in Android?
ANR stands for Application Not Responding. This pop-up comes when any application gets extra load , due to which it becomes unresponsive to open.

Q 3. 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.

Q 4. Kindly name few of the last code given to android different versions?
Nougat, Marshmallow, Lollipop, KitKat, Jelly Bean, Ice Cream, Sandwitch & Honeycomb are the few of the last codes used for android versions .

Q 5. What do you mean by intent in Android?
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.

Q 6. How could we move the data in sub activity?
Data could be moved from one activity to another with the help of bundles.
To know the coding:

Example:
                                                   
Bundle b=new Bundle();
b.putString('Email', '[email protected]');
i.putExtras(b); //where I is intent 

Q 7. What is an Android Virtual Device?
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 & run the application in order to test it.

Q 8. What is an android toast?
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(),"Fatskills",Toast.LENGTH_SHORT).show();

Q 9. What do you understand by ANR dialogue box?
ANR stands for Application not responding . This dialogue box appears when any application is no longer working .

Q 10. Could you name a few key components of Android?
Key components of android includes view, intent, service, activity, fragment, content provider & android virtual device.

Q 11. How to mention an activity in manifest file?
<manifest></manifest>
<application></application>
<activity android:name="'.MyIntellipaat'"> </activity>

Q 12. How android is beneficial for app. developers?
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.

Q 13. In Android, how to insert swipe animation?
<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>

Q 14. What do you mean by Service in Android?
A service in Android is a component which runs in the background even when the application is demolished.

Q 15. What do you mean by ActivityCreator?
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.

Q 16. Lists life cycle methods of android activity?
onCreate()
onStart()
onResume()
onPause()
onStop()
onRestart()
onDestroy()

Q 17. Why we use LINUX ID in android?
A unique Linux ID is assigned to each application in android and it is used for the tracking of a process.

Q 18. Explain the Android Application Architecture.
It has following application components architecture.

Services
Intent
Resource Externalization
Notification
Content Providers

Q 19. What do you mean by adb?
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.

Q 20. What do you mean AIDL?
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.
 



ADVERTISEMENT