CoolInterview.com - World's Largest Collection of Interview Questions & Answers, FAQs, queries, sample papers, exam papers, dumps, what, why, how, where, when questions
Our Services
Get 9,000 Interview Questions & Answers in an eBook.




Get it now !!
Send your Resume to 6000 Companies
Android Interview Questions & Answers - Learning Mode
COOLINTERVIEW.COM OPERATING SYSTEMS INTERVIEW QUESTIONS ANDROID INTERVIEW QUESTIONS QUESTIONS & ANSWERS - LEARNING MODE

Android Interview Questions & Answers - Learning Mode

Android is an operating system for mobile devices such as mobile phones, tablet computers and notebooks. Android has a large community of developers writing application programs ("apps") that extend the functionality of the devices. Android is the name of the mobile operating system owned by American company; Google. It most commonly comes installed on a variety of smartphones and tablets from a host of manufacturers offering users access to Google's own services like Search, YouTube, Maps, Gmail and more. Android OS is a Linux-based open source platform for mobile cellular handsets developed by Google and the Open Handset Alliance.

Try Android Interview Questions & Answers - Exam Mode

1 2 Next

Sort By : Latest First | Oldest First | By Rating

Android Interview Questions & Answers - Learning Mode
Try Android Interview Questions & Answers - Exam Mode
Question: Differentiate Activities from Services.

Answer: 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. Source: CoolInterview.com
Question: What are the four essential states of an activity?

Answer: Active ? if the activity is at the foreground
? Paused ? if the activity is at the background and still visible
? Stopped ? if the activity is not visible and therefore is hidden or obscured by another activity
? Destroyed ? when the activity process is killed or completed terminated Source: CoolInterview.com
Question: Enumerate the steps in creating a bounded service through AIDL.

Answer: 1. create the .aidl file, which defines the programming interface
2. implement the interface, which involves extending the inner abstract Stub class as well as implanting its methods.
3. expose the interface, which involves implementing the service to the clients. Source: CoolInterview.com
Question: How are escape characters used as attribute in Android Applications?

Answer: Escape characters are preceded by double backslashes. For example, a newline character is created using ?
? Source: CoolInterview.com
Question: What is the Android Architecture?

Answer: Android Architecture is made up of 4 key components:
*Linux Kernel
*Libraries
*Android Framework
*Android Applications Source: CoolInterview.com
Question: What data types are supported by AIDL?

Answer: AIDL has support for the following data types:
-string
-charSequence
-List
-Map
-all native Java data types like int,long, char and Boolean Source: CoolInterview.com
Question: What is the use of an activityCreator?

Answer: 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. Source: CoolInterview.com
Question: What is the function of an intent filter?

Answer: Because every component needs to indicate which intents they can respond to, intent filters are used to filter out intents that these components are willing to receive. One or more intent filters are possible, depending on the services and activities that is going to make use of it. Source: CoolInterview.com
Question: When does ANR occur?

Answer: The ANR dialog is displayed to the user based on two possible conditions. One is when there is no response to an input event within 5 seconds, and the other is when a broadcast receiver is not done executing within 10 seconds. Source: CoolInterview.com
Question: Describe the Android Framework ?

Answer: The Android Framework is an important aspect of the Android Architecture. Here you can find all the classes and methods that developers would need in order to write applications on the Android environment. Source: CoolInterview.com
Question: How can the ANR be prevented?

Answer: One technique that prevents the Android system from concluding a code that has been responsive for a long period of time is to create a child thread. Within the child thread, most of the actual workings of the codes can be placed, so that the main thread runs with minimal periods of unresponsive times. Source: CoolInterview.com
Question: What is AIDL?

Answer: AIDL, or Android Interface Definition Language, handles the interface requirements between a client and a service so both can communicate at the same level through interprocess communication or IPC. This process involves breaking down objects into primitives that Android can understand. This part is required simply because a process cannot access the memory of the other process. Source: CoolInterview.com
Question: What Is the Google Android SDK?

Answer: The Google Android SDK is a toolset that developers need in order to write apps on Android enabled devices. It contains a graphical interface that emulates an Android driven handheld environment, allowing them to test and debug their codes. Source: CoolInterview.com
Question: What is a Sticky Intent?

Answer: A Sticky Intent is a broadcast from sendStickyBroadcast() method such that the intent floats around even after the broadcast, allowing others to collect data from it. Source: CoolInterview.com
Question: What is the AndroidManifest.xml?

Answer: This file is essential in every application. It is declared in the root directory and contains information about the application that the Android system must know before the codes can be executed. Source: CoolInterview.com
Question: What are Containers in case of Android Applications?

Answer: Containers, as the name itself implies, holds objects and widgets together, depending on which specific items are needed and in what particular arrangement that is wanted. Containers may hold labels, fields, buttons, or even child containers, as examples. Source: CoolInterview.com
Question: What is the importance of Android in the mobile market?

Answer: Developers can write and register apps that will specifically run under the Android environment. This means that every mobile device that is Android enabled will be able to support and run these apps. With the growing popularity of Android mobile devices, developers can take advantage of this trend by creating and uploading their apps on the Android Market for distribution to anyone who wants to download it. Source: CoolInterview.com
Question: What is Orientation?

Answer: 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. Source: CoolInterview.com
Question: What are the different states wherein a process is based?

Answer: There are 4 possible states:
? foreground activity
? visible activity
? background activity
? empty process Source: CoolInterview.com
Question: What is the importance of having an emulator within the Android environment?

Answer: The emulator lets developers ?play? around an interface that acts as if it were an actual mobile device. They can write and test codes, and even debug. Emulators are a safe place for testing codes especially if it is in the early design phase. Source: CoolInterview.com

1 2 Next



India News Network
Latest 20 Questions
An offer which is open for acceptance over a period of time is: (a) Cross Offer (b) Counter Offer (c) Standing Offer (d) Implied Offer
Specific offer can be communicated to__________ (a) All the parties of contract (b) General public in universe (c) Specific person (d) None of the above
_________ amounts to rejection of the original offer. (a) Cross offer (b) Special offer (c) Standing offer (d) Counter offer
A advertises to sell his old car by advertising in a newspaper. This offer is caleed: (a) General Offer (b) Special Offer (c) Continuing Offer (d) None of the above
In case a counter offer is made, the original offer stands: (a) Rejected (b) Accepted automatically (c) Accepted subject to certain modifications and variations (d) None of the above
In case of unenforceable contract having some technical defect, parties (a) Can sue upon it (b) Cannot sue upon it (c) Should consider it to be illegal (d) None of the above
If entire specified goods is perished before entering into contract of sale, the contract is (a) Valid (b) Void (c) Voidable (d) Cancelled
______________ contracts are also caled contracts with executed consideration. (a) Unilateral (b) Completed (c) Bilateral (d) Executory
A offers B to supply books @ Rs 100 each but B accepts the same with condition of 10% discount. This is a case of (a) Counter Offer (b) Cross Offer (c) Specific Offer (d) General Offer
_____________ is a game of chance. (a) Conditional Contract (b) Contingent Contract (c) Wagering Contract (d) Quasi Contract
There is no binding contract in case of _______ as one's offer cannot be constructed as acceptance (a) Cross Offer (b) Standing Offer (c) Counter Offer (d) Special Offer
An offer is made with an intention to have negotiation from other party. This type of offer is: (a) Invitation to offer (b) Valid offer (c) Voidable (d) None of the above
When an offer is made to the world at large, it is ____________ offer. (a) Counter (b) Special (c) General (d) None of the above
Implied contract even if not in writing or express words is perfectly _______________ if all the conditions are satisfied:- (a) Void (b) Voidable (c) Valid (d) Illegal
A specific offer can be accepted by ___________. (a) Any person (b) Any friend to offeror (c) The person to whom it is made (d) Any friend of offeree
An agreement toput a fire on a person's car is a ______: (a) Legal (b) Voidable (c) Valid (d) Illegal
"Holiday Packages" announced as an advertisement are an example of _________: (a) Offer (b) Counter Offer (c) Invitation to Offer (d) None of the above
A match fixing contract between a player and a broker is a: (a) Valid Contract (b) Unenforceable Contract (c) Void Contract (d) Illegal Contract
When a bookseller sells a book on cash payment then it is called as ___________: (a) Unilateral Contract (b) Bilateral Contract (c) Executed Contract (d) Executory Contract
____________ agreements are created by situation: (a) Written (b) Oral (c) Void (d) Implied
Cache = 0.078125 Seconds