Android Interview Questions For Experienced Pdf Free Download

Android programming is growing day by day. The questions asked by interviewers in android is given below. A list of top android interview questions and answers:

1) What is Android?

Nov 10, 2019 Basic Android interview questions for freshers and experienced developers and testers: In this technological era, there is a huge demand for Android Application developers and it is one of the highly paid jobs too. Hence many tech-savvy people are trying to make their way into this career. Android developer interview questions and answers for experienced, android multiple choice questions (MCQs) pdf, practice quiz 8 to learn online web development degree certifications. Android multiple choice questions (MCQs), a class that displays a toast-shaped message for user is, with answers for exam preparation. Throughout the process, I have gathered all the android interview questions from the members of Mindorks Community, my friends, the internet, and the other sources. The cheat sheet is for both beginners and experienced developers. I am sure both beginners and experienced developers will get benefit from these android interview questions. Jun 14, 2017  Following are some of the most common Android interview questions and answers. What is Android? Android is an operating system for mobile. Android Interview Questions and Answers 1. What is android? A.Android is a stack of software for mobile devices which has Operating System, middleware and some key applications. The application executes within its own process and its own instance of Dalvik Virtual Machine. Many Virtual Machines run efficiently by a DVM device. Jan 30, 2012  Interview questions. A free inside look at Android interview questions and process details for 431 companies - all posted anonymously by interview candidates. Highest Paying Jobs in 2019 NEW!

Android is an open-source, Linux-based operating system used in mobiles, tablets, televisions, etc.

2) Who is the founder of Android?

Andy Rubin.

3) Explain the Android application Architecture.

Following is a list of components of Android application architecture:

  • Services: Used to perform background functionalities.
  • Intent: Used to perform the interconnection between activities and the data passing mechanism.
  • Resource Externalization: strings and graphics.
  • Notification: light, sound, icon, notification, dialog box and toast.
  • Content Providers: It will share the data between applications.

4) What are the code names of android?

  1. Aestro
  2. Blender
  3. Cupcake
  4. Donut
  5. Eclair
  6. Froyo
  7. Gingerbread
  8. Honeycomb
  9. Ice Cream Sandwich
  10. Jelly Bean
  11. KitKat
  12. Lollipop
  13. Marshmallow
More details...

5) What are the advantages of Android?

Open-source: It means no license, distribution and development fee.

Platform-independent: It supports Windows, Mac, and Linux platforms.

Supports various technologies: It supports camera, Bluetooth, wifi, speech, EDGE etc. technologies.

Highly optimized Virtual Machine: Android uses a highly optimized virtual machine for mobile devices, called DVM (Dalvik Virtual Machine).

6) 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.

7) What are the core building blocks of android?

The core building blocks of Android are:

  • Activity
  • View
  • Intent
  • Service
  • Content Provider
  • Fragment etc.
More details...

8) What is activity in Android?

Activity is like a frame or window in java that represents GUI. It represents one screen of android.

9) What are the life cycle methods of android activity?

There are 7 life-cycle methods of activity. They are as follows:

  1. onCreate()
  2. onStart()
  3. onResume()
  4. onPause()
  5. onStop()
  6. onRestart()
  7. onDestroy()
More details...

10) What is intent?

It is a kind of message or information that is passed to the components. It is used to launch an activity, display a web page, send SMS, send email, etc. There are two types of intents in android:

  1. Implicit Intent
  2. Explicit Intent

11) How are view elements identified in the android program?

View elements can be identified using the keyword findViewById.

12) 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.

Question

13) Give a list of impotent folders in android

The following folders are declared as impotent in android:

  • AndroidManifest.xml
  • build.xml
  • bin/
  • src/
  • res/
  • assets/

14) Explain the use of 'bundle' in android?

We use bundles to pass the required data to various subfolders.

15) What is an application resource file?

The files which can be injected for the building up of a process are called as application resource file.

16) What is the use of LINUX ID in android?

A unique Linux ID is assigned to each application in android. It is used for the tracking of a process.

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

No

18) List the various storages that are provided by Android.

The various storage provided by android are:

  • Shared Preferences
  • Internal Storage
  • External Storage
  • SQLite Databases
  • Network Connection

19) How are layouts placed in Android?

Layouts in Android are placed as XML files.

20) Where are layouts placed in Android?

Layouts in Android are placed in the layout folder.

21) What is the implicit intent in android?

The Implicit intent is used to invoke the system components.

22) What is explicit intent in android?

An explicit intent is used to invoke the activity class.

23) How to call another activity in android?

24) 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.

More details...

25) What is the name of the database used in android?

SQLite: An opensource and lightweight relational database for mobile devices.

More details...

26) What is AAPT?

AAPT is an acronym for android asset packaging tool. It handles the packaging process.

27) What is a content provider?

A content provider is used to share information between Android applications.

28) What is fragment?

The fragment is a part of Activity by which we can display multiple screens on one activity.

29) What is ADB?

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

30) What is NDK?

NDK stands for Native Development Kit. By using NDK, you can develop a part of an app using native language such as C/C++ to boost the performance.

31) What is ANR?

ANR stands for Application Not Responding. It is a dialog box that appears if the application is no longer responding.

32) What is the Google Android SDK?

The Google Android SDK is a toolset which is used by developers to write apps on Android-enabled devices. It contains a graphical interface that emulates an Android-driven handheld environment and allows them to test and debug their codes.

33) What is an APK format?

APK is a short form stands for Android Packaging Key. It is a compressed key with classes, UI's, supportive assets and manifest. All files are compressed to a single file is called APK.

34) Which language does Android support to develop an application?

Android applications are written by using the java (Android SDK) and C/C++ (Android NDK).

35) What is ADT in Android?

ADT stands for Android Development Tool. It is used to develop the applications and test the applications.

36) 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.

37) What is the Adapter in Android?

An adapter is used to create a child view to present the parent view items.

38) What is nine-patch images tool in Android?

We can change bitmap images into nine sections with four corners, four edges, and an axis.

39) Which kernel is used in Android?

Android is a customized Linux 3.6 kernel.

40) What is application Widgets in Android?

Application widgets are miniature application views that can be embedded in other applications and receive periodic updates.

Android Interview Questions For Experienced Pdf Free Download Pc

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:

Basic Android Interview Questions And Answers For Freshers Pdf Free Download

  • 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
More details...

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
Java Basics Interview QuestionsJava OOPs Interview Questions
Java Multithreading Interview QuestionsJava String & Exception Interview Questions
Java Collection Interview QuestionsJDBC Interview Questions
Servlet Interview QuestionsJSP Interview Questions
Spring Interview QuestionsHibernate Interview Questions
PL/SQL Interview QuestionsSQL Interview Questions
Oracle Interview QuestionsAndroid Interview Questions
SQL Server Interview QuestionsMySQL Interview Questions

Collaboration Rules

Make sure your question is new and unique - not just rephrasing a previously existing question. If possible, include a link to the solution/topic. Questions should be fairly straightforward and completely technical (no 'how many golf balls are in America' questions.) If there is a new topic that you think should be included, then include it!

Topics:

General Developer Questions

  • How familiar you are with the Android and Google Guidelines?
  • Describe Test-Driven Development. [info]
  • Explain unit tests versus functional tests.
  • Describe Scrum and Kanban.
  • What project management tools have you used?
  • How do you ensure that you are working efficiently?
  • Do you have basic familiarity with working on the command line i.e. Gradle, Ant, or the Java Compiler?

Core Java

Object-Oriented Programming

Pdf
  • What are the main 3 Object Oriented Programing (OOP) concepts?
  • Explain object serialization and how to implement it in Java.
  • Explain anonymous classes. [info]
  • Describe the differences between abstract classes and interfaces. [info]
  • Explain what a Singleton class is and how to create one in Java [info]
  • Why should the equals() and hashCode() methods often be overridden together? [info]
  • How do you properly override the equals() method? For example, what considerations should be taken when checking for equality? [info]
  • Difference between final, finally and finalize?
  • In Java, does the finally block gets executed if we insert a return statement inside the try block of a try-catch-finally? [info]
  • Explain method overloading & overriding.
  • What is memory leak and how does Java handle it? [info]

Data Structures

  • What are the use cases and differences of arrays and ArrayLists?
  • What are the use cases and differences of a HashSet and a TreeSet? [info]

Build Tools

  • Have you used any Ant, Maven, Gradle features for your project?

Programming Paradigms

  • Explain event-driven programming in Java [info]
  • What is Java's Garbage Collection and how does it help you as a developer?
  • How can you typecast in Java? [info]
  • Explain Java's try-catch-finally paradigm [info]

Core Android

  • How does the Android notification system work?
  • How can two distinct Android apps interact? (several answers)
  • Describe Activities. [info]
  • What are the four states of the Activity Lifecycle? [active/running, paused, stopped, destroyed]
  • What are the seven callback methods of an Activity used to perform operations when the Activity transitions between states? [onCreate(), onStart(), onResume(), onPause(), onStop(), onRestart(), onDestroy()]
  • What is the difference between a fragment and an activity? Explain the relationship between the two. [info]
  • What is the difference between Serializable and Parcelable? Which is the best approach in Android? [info]
  • What are 'launch modes'? [info]
  • What are Intents? [info]
  • What is an Implicit Intent? [info]
  • What is an Explicit Intent? [info]
  • Describe three common use cases for using an Intent.
  • What is a Service? [info]
  • What is a ContentProvider and what is it typically used for? [info]
  • What is a Fragment? [info]
  • What is ADB?
  • What is ANR?
  • What is AndroidManifest.xml used for? Give examples of what kind of data you would add to it. [info]
  • Describe how broadcasts and intents work to be able to pass messages around your app.[info]
  • What is the Dalvik Virtual Machine?
  • What are different ways to store data in your Android app? [info]
  • Android appplication components [info]
  • What is the relationship between the life cycle of an AsyncTask and an Activity? What problems can this result in? How can these problems be avoided?
  • What is the difference between Service and IntentService? How is each used? [info]
  • What is a Sticky Intent? [info]
  • What is AIDL? [info]
  • What is dependency injection?
  • What are the different protection levels in permission? [info]
  • How would you preserve Activity state during a screen rotation?

Android Design and XML

Android Interview Question And Answer

  • Explain the differences and similarities of Relative Layout and Linear Layout.
  • Explain the differences and similarities of List Views and Grid Views.
  • Describe how to implement XML namespaces.
  • Explain how to present different styles/drawables for a button dependingon the state of the button (pressed, selected, etc.) using XML (no Java) [info]
  • for layout_width and layout_height, what's the difference between match_parent and wrap_content?
  • How do you implement Google's new Material Design in an Android application? [info]
  • Difference between View.GONE and View.INVISIBLE? [info]

Android Networking

Android Development Interview Questions

  • Have you use an HTTP Library, which, why, did you like it?
  • Describe how REST APIs work.
  • What are some typical methods of HTTP request/responses? [GET, POST, PUT, PATCH, DELETE, UPDATE]

Android Interview Questions For Experienced Pdf Free Download Windows 10

Databases

Basic Android Interview Questions

  • Why does Android use SQLite?
  • What libraries have you used for interacting with databases and why did you choose them?
  • What are contract classes? [info]
  • How do you use the BaseColumns interface to describe your data schema? [info]