Top 10 Android Interview Questions Answers for Java Programmers

How many interview question do you prepare before going for any Android or Java interview? not many right. In this article, we will explore some of the most frequently asked Android interview questions. Android is very hot nowadays as its one of the top operating system for Mobile and Smartphone and the close rival to Apple's iOS. Android application developer job is in demand as well. I have also seen a couple of Java questions in Android interview as well. It means it's better to prepare some Java questions as well. Following Android Interview Questions are very basic in nature but appear frequently on beginners or Intermediate programmer level on various Android interview. I have not provided answers of this question as it can easily be found by doing the google. If needed I will update this Android interview questions with answers as well. These questions are good for recap and practice before going to Android interview.

Android Interview Questions answers

Here is a couple of interview questions from Android operating system, It is collected from various telephonic and face-to-face interviews. Any Java programmer can use it to prepare for Android interview.

Question 1: What is the difference between a regular .png and a nine-patch image?
Answer: This is one of the most popular Android Interview questions, asked in several interview ranging from 1 to 2 years of experience to 5 years. The answer is, It is a resizable bitmap resource that can be used for backgrounds or other images on the device. The NinePatch class permits drawing a bitmap in nine sections. The nine patch images has extension as.9.png. It allows extension in 9 ways e.g. 4 corners that are unscaled, 4 edges that are scaled in 1 axis, and the middle one that can be scaled into both axes.

Question 2: What is an ANR notification in Android?
Answer: ANR is short for Application Not Responding. Android systems show this dialog if the application is performing too much of task on the main thread and been unresponsive for a long period of time.

Question 3: How to share content using Android Share Intent?
Share intent is an easy and convenient way of sharing content of your application with other apps.

Question 4: When does onResume() method called?
Another frequently asked android interview question. onResume() method is an activity lifecycle method. This is called when the activity comes to the foreground. You can override this method in your activity to execute code when activity is started, restarted or comes to the foreground.

Question 5: What is an action in Android?
A description of something that an Intent sender desires.

Question 6: What is the difference between an implicit intent and explicit intent?
There are Two types of Intent implicit and explicit intent, let see some more difference between them.

1) implicit:-
Implicit intent when you call system default intent like send email, send SMS, dial number etc
Intent sendIntent = new Intent();
sendIntent.putExtra(Intent.EXTRA_TEXT, textMessage);

2) Explicit :-
Explicit intent when you call you're on application activity from one activity to another
e.g. first activity to second activity
Intent intent = new Intent(first.this, second.class);

Question 7: What is APK format?
The APK file is compressed AndroidManifest.XML file with extension.apk, Which have application code (.dex files), resource files, and other files which are compressed into single .apk file.

Question 8: What is Dalvik Virtual Machine?
Just like Java application run on Oracle HotSpot JVM or Azul JVM,  Android application runs on the Dalvik Virtual Machine.

Question 9: How Android app runs inside Android mobile? (answer)
Since Android code is written in Java, they are also compiled first and then executed, but the JVM for which the bytecodes are generated is different than standard JVM. The Dalvik JVM is used to run Android app. See the answer for more detailed discussion.

Android Interview Questions and Answers

Here are some more frequently asked Android Interview questions for Java Programmers:

1.What is Android? is it an Operating System or programming language?
2.Which programming language is used to develop an application in Android?
3.Which devices have you worked on Android platform?
4.What best practices you follow to ensure that your application work on multiple Android devices of different screen size, processing power and features?
5.What is Activity and Intent in Android? What is the difference between Activity and Intent?
6.What kind of application have you developed on Android platform? Games, application
7.What is Android manifest file? Why do you need this?
8. How do you implement Internationalization and Localization in Android application?
9. How do you find IMEI and IMSI number of an Android device

If you have faced any interesting Android Question or looking for the answer of any tricky Java question or Android question then you can share with us as well.

Other Interview Question articles from java67 blog


  1. Can you please share answer of remaining Android Interview question, also it would be fantastic if share some more Android Interview question for 1 year and 2 year experience Android developers. I have experience in J2ME and programming in Android from 2 years.

  2. I have 8 years of exp in mobile application development, which includes c, brew, and android. I am working as technical lead in Samsung. Thanks for sharing good questions.

  3. Couple of Android questions from my side :
    What is difference between Android and J2ME?
    What is difference between Android and Symbian or Windows Mobile?
    Can you code in Java 8 for Android application? If no, why not?
    What is difference between byte code generated by javac and android ?

  4. Can you please share some Android questions for freshers and 1 year experience? I have done some Android programming for my own projects, which Android topics should I prepared to do well? Does knowing Java is enough for getting Android job? Also what is the difference between Android questions for say 1 year experience or 2 to 3 year experience guy? which topic they asked more on each interview?