Android Interview Questions

  • (4.0)
  •   |   4377 Ratings

Android Interview Questions

UPDATED: 16/04/2018

If you're looking for Android Interview Questions for Experienced or Freshers, you are at right place. There are lot of opportunities from many reputed companies in the world. According to research Android has a market share of about 0.7%. So, You still have opportunity to move ahead in your career in Android Development. Mindmajix offers Advanced Android Interview Questions 2018 that helps you in cracking your interview & acquire dream career as Android Developer.

Enhance your IT skills and proficiency by taking up the Android Training.

What is Android?
It is a compilation of all the software which is designed especially for mobile devices. This version is compatible with Smartphones and includes operating system, and some key applications. The application results in the execution of the process and the Dalvik Virtual Machine.

Q. Write another calling activity in android?
1.    Intent i = newIntent(getApplicationContext(), ActivityTwo.class);
2.    startActivity(i);

Check Out Android Tutorials

Q. What is ANR?
ANR stands for Application Not Responding, a dialog box that appears if the application is no longer responding.

Q. What is the Android application Architecture
There are certain components that together make the Android application Architecture. It includes:

1. Services: That together creates the functionality to be performed in the background
2. Internet: It is performed for the internal connected between the activities and the mechanism that is passed through the data.
3. Resource examination: It includes strings and graphics
4. Content providers: It includes the data between the applications that are shared
5. Notification: It includes notification, light, sound, dialog box and icon to name a few

Q. Could you explain the term An Activity
It is all about the performance action which is done on screen. If you want to go ahead and conduct any kind of operation, you are allowed to do so with the help of an activity

Q. Define the APK format?
APK is an abbreviation of Android packaging key. It encompasses of the UI, Classless, manifest and supportive assets to name a few. There are some of the files which are together compressed in a single document. This document is called the APK.

Q. Define Intent?
There is a connection between the internal and external world of application. This connection is called intent. For some of the examples, if you open a PDF, there is an intent which is then connected to the web browser.

Q. Do you know the founder of Android:
The founder of android was Andy Rubin who has literally changed the world and defined the technology in all new way.

Q: Are there any specific names of Android Codes:

1. Blender
2. Donut
3. Froyo
4. Honycomb
5. Aestro
6. Cupcake
7. Eclair
8. Gingerbread
9. Ice Cream Sandwitch
10. Kitkat
11. Marshmallow
12. Jelly Bean
13. Lollipop

These are some of the popular versions that Android has released so far. There are still many going to come but no doubt each version has been introduced with some specific concept.

Q. Why has Android gained so much popularity? What is making people choose this option?
The prime reason of its popularity is the free usage. Furthermore, it comes with:

1. Open source: In this there is no distribution, license or the development charge which is being included
2. Technology gets support: It is all about the Bluetooth, camera, Wi-Fi, speech and Edge to name a few that are being supported with it
3. Independent platform: It offers Mac, Windows and even the Linux based platforms for user friendly solution.
4. Virtual machine with better optimization: Android with the help of well optimized virtual machine choose the DVM called Dalvik Virtual Machine

Q: Is there any language than Java that is being used in Android:
Android app is loaded with different programming languages. You can develop it with C, C++ and even the Native Development Kit. The result is of course the best which is extremely good performance and faster solution.

Q. Why standard Java bytecode can run on Android?
As you know Dalvik Virtual Machine is the platform that Android uses. It certainly needs a bytecode for smooth functioning. To make sure all the files are into Dalvik Executable files, the conversion of Java class files in Dalvik needs to be done. This can be done with the help of a tool known as  “dx”. Generally developer is not responsible for building such type of tool.

Q. Is it possible to program android application in Java?
Though java language is used for Android but that does not necessarily mean that you can always program the application is the same language. However, you have a scope to create the application in native-code languages like C or C++

Q: Where can you declare the activity to make sure system gets the access:
To make sure activity is declared, it needs to be present the file of manifest 


Q. Could you explain the difference between an implicit intent and explicit intent?
There are two types that you need to know which are:

1. Implicit: It is related with the calling of default system such as sending email, SMS or even the dial number.
2. Explicit intent: it is associated with the component which related from the activity. In short we also call it an activity done by the explicit

Q. Explain core building blocks of android:
As a developer, it is important for the person to understand the Android blocks. No doubt there are many but the selective ones are mentioned below. The core building blocks of android are categorized into:

1. View
2. Service
3. Activity
4. Intent
5. Content Provider
6. Fragment etc.

Q. Can you name the different storage methods in Android?
Android is a platform that offers variety of options of data persistence. There are some shared choices called the storage for private yet the crucial data. It is stored in the pairs called the Key Value. It often gets quite restricted as it provides the value pairs based key. It is not possible to save your own type of Java. Other than this comes the internal storage which focuses on storing the private data on the memory of the Smart Phone.

Q. Can you describe about Action present in Android?
There is a description of the intent sender which it requires which is called the action. It is included in Syntax and is comes with a description were an action is added to an intent filter. There is an element which shall have more than 2 elements. If it does not contain any then there is no intent object that will get from the filter.

Q. Could you explain about the dialog boxes that can be used in Android Application?
It consists of some of the parts such as:

** DatePickerDialog: This term is used by the user for time selection
** AlertDialog : It is an alert box of dialogue which contains 3 button with a selectable elements list
** ProgressDialog: This one is the extension that you might want to some buttons with it. It generally describes the progress bar
** TimePickerDialog: This is used by the user for time selection

Q. Could you explain in detail about  the life cycle methods that android activity consists of?
Generally this type of lifecycle is controlled with 7 methods. The prime focus of android Activity is to create a subclass of the Context Theme Wrapper class. It consists of:

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

Q. What is the right kennel that can be used in Android:
Since there are so many platforms but when it comes to Android the right one to choose is Linux 3.6 kernel

Q. Do you know about the Android application Widgets
It is nothing but the small application views which you can easily embed in some other application and thus get the updates on periodic basis.

Q. What are the flags types by which Android Application runs
The flags are categorized in two types for running the Android Application:


Q. Could you explain in detail about a singleton class?
In Android, there is a calls that creates an object which you can share with other classless. This class is nothing but a singleton. 

Q. Could you name the resource in which there is a compilation of the visual resource and which you can use as a background, title and in other screen parts?
There is a virtual resource which is generally used for different purposes such as title, background and even in other screen parts. It is called Drawable. It is generally stored in the files of the individuals or may be sometimes in drawable factors. There is an ADT project which is created and you will also have to store the bitmaps for some resolutions in subfolders of Drawable. If such bitmaps are offered in other folder, the option is on Android system for selecting the right option that would on its own make the choice depending on the configuration of the device.

Q. Is there a possibility to make two Android applications with same ID of Linux for sharing?
The application need to sign with a same certificate to make sure that they share the same user ID and even the VM. There is no hard and fast rule but certainly to make the right use of it, it is important to understand the right process. This way, it becomes possible to go with the flow and get accurate results which are important.

Q. Is there any way for deployment which you can execute for JARs on Android?
There is no such way since Android platform cannot support the JAR deployments effectively. Applications that are packed in the Android Package with the help of Android Asset Packaging software is later deployed for the platform of Android. This tool is offered by Google for the eclipse.

Q. Can you change the application name once it gets deployed?
Generally it is not advised for changing the name of the application once it gets deployed. Since this action will break certain functions there is a huge risk involved. Supposedly, there will no shortcuts that would work if you change the name of the application. It is of course possible to change but once the name is deployed, changing it makes no sense due to the huge loss risk.

Q. Define ANR notification that is present in Android
ANR is an abbreviation of Application Not Responding. Generally this dialog is popped up in Android system if the application is performing too many tasks on the main platform and becomes unresponsive for quite a long time. It is more like the system gets slowed down since too many applications becomes a burden and all of a sudden all the applications stops responding or shuts down automatically

Q. Could you elaborate the three key loops that would help you monitor the activity?
Android is an ultimate platform which offers great solution. However, each activity is tracked down and for this there is a loop. This helps in mentoring the activity. It is categorized into three things which are

• Visible lifetime – there is an activity taking place between onStop with onStart
• Entire lifetime – there is an activity taking place between onCreate with onDestroy
• Foreground lifetime – there is an activity taking place between onPause with onResume

Q. Name the basic tools that are used for develop an android app?
Generally an android app is categorized into:

1. Eclipse+ADT plugin
2. JDK
3. SDK Tools

Q. How can you prevent ANR?
There is a technique which prevents the Android system from drawing the conclusion finally. There is a code which has been pretty much responsive for quite a long time. It is used for creating a child threat. Once the child thread is made, there are some of the actual parts of the codes which you can place. This way it is possible for the main threats to run at the less period that are related with unresponsive timing.

It is always better to learn and understand these interview questions. Prepare yourself well in advance for better success.

Explore Android Sample Resumes! Download & Edit, Get Noticed by Top Employers!Download Now!


Popular Courses in 2018

Get Updates on Tech posts, Interview & Certification questions and training schedules