Android Interview Questions
- Briefly summarize about the Andriod projects you have finished? Your role?
- Summarize your development experience before working as an Andriod Developer?
- How was your previous development experience useful for your work as an Andriod Developer?
- Talk about your main role in the projects you have finished?
- What were main technical issues faced by your Andriod tasks? How were they sorted? What were other alternative solutions suggested or considered?
- What was most challenging aspect of any Andriod projects you have worked so far?
- What is Andriod APK package?
- What is Andriod Manifest file? Name common tags?
- What are the main components of Andriod UI?
- How do you create UI with and without using XML file? Give simple examples.
- What is the difference between linear layout, relative layout, table layout,
frame layout and grid layout?
- How will you create Splash Screen for your andriod application?
- What is View and ViewGroup?
- What is a progress bar? How is it created?
- How you debug your Andriod Applications? Which ones are your favourite tools?
- How is JUnit testing for Andriod implemented? Describe based on your experience.
- How much you are familiar with Robotium and Roboelectric frameworks for testing Andriod applications?
- What are two main types of Andriod Services ? Give examples.
- How will you set up Started Service and Bind Service in your Andriod application?
- What is difference between local and remote service in Andriod?
- How do you define Action bar?
- What is context in Andriod?
- What is theme in Andriod?
- What are fragments? How are they related to lifecycle of activities? Give examples.
- What is the difference in implementing fragments for Andriod Version 3.0 and earlier versions?
- Do a fragment have to be instantiated each time, within the same activity? Explain.
- What is Broadcast receiver? Give examples.
- What is the difference between Broadcast receiver and Service?
- How you register Broadcast receiver statically (in XML file) or dynamically (programmatically) ? When you prefer registering statically and when dynamically?
- What is the life cycle of Activity, Service and Broadcast receiver?
- Is there a limit on the number of Broadcast receivers an application can have?
- What is intent? How many types of it? How is it declared? Give examples.
- What is intent filter? How is it declared? Give examples.
- What is the intent filter of the main screen which launches your android applications main screen?
- What is pending intent?Give some example?
- What is sticky intent?Give some example?
- How do you define intent to go for one activity to another?
- How do you define intent to open a service from activity?
- How do you define intent to open web url from an activity?
- How do you declare action bar in manifest file?
- What are Push Notifications?
- How do you declare Push Notifications in the manifest file?
- How are Web Services implemented in Andriod?
- How is Java Web Service called from inside Andriod application?
- How is asp.net Web service called from inside Andriod application?
- When will you prefer JSON parsing and when XML parsing in Andriod?
- What are adapters? What is the difference between Array adaptor and Cursor adaptor?
- How do you create Array Adapter and Cursor Adapter in Andriod?
- Name some of the other Andriod Adaptors you have used or are familiar with?
- What is Adapter View?
- What are Content Providers? When they are used in Andriod applications? When are they not necessary?
- What are the data storage options in Andriod?
- Name and briefly explain different types of notifications in Andriod?
- What is SQLite DB? How do you query this DB within an Andriod application? What are other common DB options you can have within and outside an
Andriod application?
- What is difference between px, dp, dip, and dpi? When will you use sp?
- How strong you are in Java programming? Which Java Frameworks you are familiar with?
- How is Andriod Java differ from Java?
- In Java every program starts from the main method. Why is there no main method in Andriod Java?
- What are common exceptions in Andriod programming?
- What computer languages other then Java, you can currently use to build Andriod applications? Which one you have used or can work with?
- What is Andriod NDK?
- How to execute a thread in Andriod?
- How is multithreading used in Andriod?
- What are two standard ways of implementing threads in Andriod?
- By default an Andriod Application will have how many threads?
- How to set priority of threads in Andriod?
- How to update User Interface thread?
- Is Andriod toolkit thread- safe? How does the answer impact running a separate thread to update UI?
- What is the default thread of Broadcast receiver?
- How to create a service with multiple threads in it?
- Is it possible to create a service without any thread?
- When is Asyntask used in Andriod?
- Compare Handler and Asyntask usage for the UI update?
- What are the main advantages of using Asyntask?
- Any disadvantages for Asyntask ? What are other alternatives?
- What is a worker thread?
- What is your knowledge and experience in Web Development?
- How much you know about HTML, CSS and JavaScript?
- What do you know about jQuery?
- What is AQuery? How you can use it in Andriod development?
- What is your experience and knowledge in HTML5?
- How HTML5 can be used to make Android apps?
- How will you use WebView to display a website content in an Andriod application?
- How fluent you are in using Eclipse?
- Name few commonly used keyboard short cuts for Eclipse?
- Which Eclipse prespective you will mostly use for Andriod projects?
- How often you use Andriod Studio ?
- How will you compaire Andriod Studio with Eclipse?
- What are the different screen sizes available in Andriod?
- Name some of the recent versions of Andriod?
- What are the versions of Andriod you have worked with?
- How will you implement fragments before and after Andriod version 3.0 ?
- How will you define Action bar before and after Andriod version 3.0 ?
- What is the most recent version of Andriod? What are the new features in it?
- What are the various configuration changes which can cause application to destroy and restart?
- When a service is destroyed due to some configuration change, how does it get restored?
- After an application is stopped, how to stop a service which should not be running
then still in the background?
- What are the Andriod best security practices?
- What are the commonly used debugging tools?
- Give examples of how will you setup simple Junit test cases for testing UI of Andriod?
- Any particular pitfalls of Asyntask?
- If you don't use Asyntask for long term operations, what are the
alternatives? When will you prefer them over Asyntask?
- What is difference between REST and SOAP webservices? Which one you mostly use in Andriod and why?
- What is difference between JSON and XML parsing? Any particular advantages of one over another while using for an
Andriod application?
- How will you setup HTTP connection for connecting with a Webservice?
- Name some of the best user interface design practices?
- What is the most commonly used UI layout and why?
- What are the best practices for designing UI for multiple screen sizes?
- How will you design UI for different screen densities?
- How does Andriod support applications for different languages?
- How does Andriod support applications for different screen sizes?
- How does Andriod support various platform versions?
- How will you support best features and functionalities across various Andriod versions?
- What are the best security practises for Andriod?
- How will you create a dynamic and multi-plane user interface for Andriod?
- What is AIDL?
- What is ADB?
- How does the Andriod system implements the principle of least privilege?
- Can two apps share same Linux user ID?
- What are bluetooth services for Andriod?
- What is the default thread when an Andriod application is initiated?
- What method of asyntask executes on a worker thread?
- What is the single thread model to update the UI?
- How is multi-threading implemented in Andriod?
- How will you use handlers to update the UI?
- Which thread Service use?
- Can Asyntask be used with Service?
- What are Loaders? Give examples of their usage for an Andriod application?
- How do you make your app location-aware?
- What is purpose of using <support-screens> element into the AndroidManifest.xml file? Does automatic "compatibility mode"
for adjusting to various screen sizes remains still valid?
- Compare use of LinearLayout and RelativeLayout for designing a UI?
- How MVC design pattern is implemented for Andriod UI?
- What is the difference between HTTPGet and HTTPPost call with HTTPClient in Andriod? Which method you will use to send an email and which one to fetch some values from a website?
- What are some of the common exceptions while using HTTP requests? How can they be handled?
- What are some of the most common causes of NullPointerException?
- What is OutOfMemory Exception and InflateException?
- What is the required size in pixels for google play store app icon?
- What are the common image formats andriod supports?