Android



21. What is the use of an activityCreator?  

An activityCreator is the first step towards the creation of a new Android project. It is made up of a shell script that will be used to create new file system structure necessary for writing codes within the Android IDE.



22. What do ADT stands for?  

ADT stands for Android development tool,This is useful to develop the applications and test the applications.



23. What are containers?  

Containers holds objects and widgets together, depending on which items are needed and in what arrangement they need to be in. Containers may hold labels, fields, buttons, or even child containers, as examples.



24. Explain the Architecture of Android ?  

Top -> Applications (Contacts, Browser, Phone, etc)
Below Applications -> Application Framework(Activity Manager, Window Manager, Content Providers, View System, Package manager,
Telephony manager, Resource, Notification, Location managers)
Below Application Framework -> System Libraries(Like Sqlite, webkit, SSL, OpenGL, Media Framework etc) & Android Runtime( Core Libraries and DVM).
Atlast Last -> Linux Kernel (which composed of drivers like display, camera etc.)




25. Describe Activities?  

Activities are what you refer to as the window to a user interface. Just as you create windows in order to display output or to ask for an input in the form of dialog boxes, activities play the same role, though it may not always be in the form of a user interface.




26. What is a content provider in android?  

A content provider component supplies data from one application to others on request. Such requests are handled by the methods of the ContentResolver class. A content provider can use different ways to store its data and the data can be stored in a database, in files, or even over a network.



27. What did you like better, Ice Cream,Sandwich or KitKat?  

These are code names for Android releases, and are well known throughout the Android community. Your developer should be familiar with them. Ice Cream Sandwich was Android version 4.0 (API level 14) released on October 18, 2011. KitKat refers to Android version 4.4 (API level 19), released on October 31, 2013.

This question is really to weed out the beginners who may not be as familiar with the different Android releases and that changes within each. You really want your developer to be in tuned to the Android updates so they know what’s possible, how to best implement what you are asking, and where things are headed in general.



28. What is a service?  

A service doesn't have a visual user interface, but rather runs in the background for an indefinite period of time.

For example, a service might play background music as the user attends to other matters, or it might fetch data over the network or calculate something and provide the result to activities that need it.Each service extends the Service base class.



29. Differentiate Activities from Services?  

Activities can be closed, or terminated anytime the user wishes. On the other hand, services are designed to run behind the scenes, and can act independently. Most services run continuously, regardless of whether there are certain or no activities being executed.



30. What are the notifications available in android?  

Toast Notification - It will show a pop up message on the surface of the window
Status Bar Notification - It will show notifications on status bar
Dialogue Notification - It is an activity related notification.



31. What are App Widgets?  

Also referred to simply as Widgets, App Widgets in the Android world are miniature views that are embedded within Android apps and typically display periodic updates. Music players, weather updates, sports scores, and stock price changes are all examples of data that can be displayed in an App Widget.



32. How to Remove Desktop icons and Widgets?  

Press and Hold the icon or widget. The phone will vibrate and on the bottom of the phone you will see anoption to remove. While still holding the icon or widget drag it to the remove button. Once remove turns red drop the item and it is gone.



33. What is the importance of XML-based layouts?  

The use of XML-based layouts provides a consistent and somewhat standard means of setting GUI definition format. In common practice, layout details are placed in XML files while other items are placed in source files.



34. What is ADB in android?  

It is acts as bridge between emulator and IDE, it executes remote shell commands to run applications on an emulator.



35. What is AIDL?  

Android Interface Definition Language. It offers to define the client's interface requirements and moreover a service in order to communicate at same level with the help of inter process communications.




36. What data types does AIDL support?  

AIDL supports charSequence, list, map, string, and all types of native java data types.



37. Describe a real time scenario where android can be used?  

Imagine a situation that you are in a country where no one understands the language you speak and you can not read or write. However, you have mobile phone with you.



38. What is Orientation?  

Orientation, which can be set using setOrientation(), dictates if the LinearLayout is represented as a row or as a column. Values are set as either HORIZONTAL or VERTICAL.



39. What is an Adapter in android?  

The Adapter is used to create child views to represent the parent view items.



40. What information do you need before you begin coding an Android app for a client?  

You want to find out that this person will seek to truly understand what you are trying to accomplish with your app, and the functionality. The following items are good to hear:

Objective statement or purpose of the app for the app publisher
Description of the target audience or user demographics
Any existing apps that it might be similar to
Wireframes
Artwork; The best developers will say they require the artwork to be completed before development. This avoids delays, and helps the developer understand the look, feel and branding you are trying to achieve.




.Net Interview Question

PHP Interview Question

Java Interview Question

AngularJS Interview Questions