Android Interview Questions and Answers - LearnHowToCode SarkariResult.com Interview Questions and Answers LearnHowToCodeOnline
Android Interview Questions and Answers

Android Interview Questions and Answers

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 are given below.
1. What is Android?
Android is an open-source, linux-based operating system that is 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 inter connection 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?
Aestro
Blender
Cupcake
Donut
Eclair
Froyo
Gingerbread
Honycomb
Ice Cream Sandwitch
Jelly Bean
Kitkat
Lollipop
Marshmallow
5. What are the advantages of android?
Open-source: It means no licence, 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 highly optimized virtual machine for mobile devices, called DVM (Dalvik Virtual Machine..
6. Does android support other language than java?
Yes, 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.
8. What is activity?
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:
onCreate()
onStart()
onResume()
onPause()
onStop()
onRestart()
onDestroy()
 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:
Implicit Intent
Explicit Intent
11. What is implicit intent in android?
Implicit intent is used to invoke the system components.
12. What is explicit intent in android?
Explicit intent is used to invoke the activity class.
13. How to call another activity in android?
1.    Intent i = new Intent(getApplicationContext(), ActivityTwo.class); 
2.    startActivity(i); 
14) 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.
15. What is the name of database used in android?
SQLite: An opensource and lightweight relational database for mobile devices.
16. What is AAPT?
AAPT is an acronym for android asset packaging tool. It handles the packaging process.
17. What is content provider?
Content providers are used to share information between android applications.
18. What is fragment?
Fragment is a part of Activity. By the help of fragments, we can display multiple screens on one activity.
19. What is ADB?
ADB stands for Android Debug Bridge. It is a command line tool that is used to communicate with the emulator instance.
20. What is NDK?
NDK stands for Native Development Kit. By using NDK, you can develop a part of app using native language such as C/C++ to boost the performance.
21. What is ANR?
ANR stands for Application Not Responding. It is a dialog box that appears if the application is no longer responding.
22. 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 allow them to test and debug their codes.
23. 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.
24. Which language does Android support to develop an application?
Android applications are written by using the java (Android SDK) and C/C++ (Android NDK).
25. What is ADT in Android?
ADT stands for Android Development Tool. It is used to develop the applications and test the applications.
26. 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.
27. What is Adapter in Android?
An adapter is used to create a child view to present the parent view items.
28. What is nine-patch images tool in Android?
We can change bitmap images in nine sections as four corners, four edges and an axis.
29. Which kernel is used in Android?
Android is customized Linux 3.6 kernel.
30. What is application Widgets in Android?
Application widgets are miniature application views that can be embedded in other applications and receive periodic updates.
31. Which types of flags are used to run an application on Android?
Following are two types of flags to run an application in Android:
FLAG_ACTIVITY_NEW_TASK
FLAG_ACTIVITY_CLEAR_TOP
32. What is singleton class in Android?
A singleton class is a class which can create only an object that can be shared all other classes.
33. 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.
34. What do you mean by a drawable folder in Android?
In Android, a drawable folder is compiled visual resource that can use as a backgrounds, banners, icons, splash screen etc.
35. What is DDMS?
DDMS stands for Dalvik Debug Monitor Server. It gives the wide array of debugging features:
Port forwarding services
Screen capture
Thread and heap information
Network traffic tracking
Location data spoofing
36. Define Android Architecture?
Android architecture consists of 4 components:
Linux Kernal
Libraries
Android Framework
Android Applications
37. What is a portable wi-fi hotspot?
The portable wi-fi hotspot is used to share internet connection to other wireless devices.
38. Name the dialog box which are supported by android?
Alert Dialog
Progress Dialog
Date Picker Dialog
Time picker Dialog
39. Name some exceptions in android?
Inflate Exception
Surface.OutOfResourceException
SurfaceHolder.BadSurfaceTypeException
WindowManager.BadTokenException
40. 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

About Mariano

I'm Ethan Mariano a software engineer by profession and reader/writter by passion.I have good understanding and knowledge of AngularJS, Database, javascript, web development, digital marketing and exploring other technologies related to Software development.

10 comments:

Unknown said...

Selamat Petang,


Amaze! I have been looking bing for hours because of this and i also in the end think it is in this article! Maybe I recommend you something helps me all the time?

I am working with AngularJS routing in ASP.Net. Everything working fine but when I press refresh it show....

The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
Requested URL: /AngularJSSelfPractive/TableView


THANK YOU!! This saved my butt today, I’m immensely grateful.


Thank you,

Unknown said...

Marhaba,

Seems like I won the lottery here….This is a treasure box of blogs and your folks are like leprechauns! Phenomenal read on pl/sql interview question!

I have DMLStatements which contains some polish characters for POLAND country.
When i am executing that DML through the QL Developer i am able to see my Polishcharacters.

but when we gave the release through the SQLPLUS those characters are replacing with some special characters
like ? (Question Mark)


Data type of the column is : NCLOB
NLS_CHARACTERSET : AL32UTF8
NLS_NCHAR_CHARACTERSET : AL16UTF16

Could you please help to resolve this?

THANK YOU!! This saved my butt today, I’m immensely grateful.

Kind Regards,

Unknown said...

Bonjour,


Jeez oh man,while I applaud for your writing , it’s just so damn straight to the point This is a treasure box of blogs
I have a requirement as below

I have a table with 3 columns

Col1 Col2 Col3 lowrange highrange
BRID A 1 1 3
BRID A 3 1 3
BRID C 1 1 5
BRID C 2 1 5
BRID C 3 1 5
BRID C 5 1 5
BRID B 1 1 7
BRID B 2 1 7
BRID B 3 1 7
BRID B 5 1 7
BRID B 7 1 7

We need to insert the missing number in col3 between lowrange and highrange.
I have managed to insert the missing numbers.

However, if we need to insert exactly between the missed place.

I would not be able to use order by as Col2 is not maintained in any order.

The output should be as below

Col1 Col2 Col3
BRID A 1
BRID A 2
BRID A 3
BRID C 1
BRID C 2
BRID C 3
BRID C 4
BRID C 5
BRID B 1
BRID B 2
BRID B 3
BRID B 4
BRID B 5
BRID B 6
BRID B 7

Kindly let me now any logic to achieve the same.


THANK YOU!! This saved my butt today, I’m immensely grateful.


Many Thanks,
Radhey

damion said...

Here are the best visual voicemail apps for android which you can easily download from the Google play store. YouMail Visual Voicemail. Visual Voicemail Plus. T-Mobile Visual Voicemail. Verizon Visual Voice Mail.

Prinxess said...

Thanks for a wonderful share. Your article has proved your hard work and experience you have got in this field. Brilliant .i love it reading. tinderhackapk.info/
Nice to be visiting your blog again, it has been months for me. Well this article that i've been waited for so long. I need this article to complete my assignment in the college, and it has same topic with your article. Thanks, great share. www.tinderhackapk.info/

Karolin Pfeiffer said...

You create sense out of the foremost complex topics.www.whichandroid-phone.info

Owais Khan said...

Geometry dashapk, Geometry Dash APK 2.1 Download Latest Version. geometry dash 2.1 apk

LulzSec said...

Android is an open-source, linux-based operating system that is used in mobiles, tablets, televisions etc. Bigo Live App Mod Apk

janakikrishnan said...

I gather the valuable things which help me to move forward.
Android Training in Madurai
Android Course in Madurai
Android Courses in madurai
Android Training in Coimbatore
Best Android Training Institute in Coimbatore
Android Development Course in Coimbatore

Manipriyan said...

You have made some decent points there. I checked on the web for more info about the issue and found most people will go along with your views on this website.


DevOps Training in Chennai
Splunk Training in Chennai

Featured post

Political Full Forms List

Acronym Full Form MLA Member of Legislative Assembly RSS Really Simple Syndication, Rashtriya Swayamsevak Sangh UNESCO United Nations E...

Powered by Blogger.