Sunday 22 September 2013

2013 Android Interview Questions and Answers For Java Peoples - Freshers, Experienced

Android Interview Questions and Answers

Android Interview Questions and Answers for java people , In This blog I Saved Best Android Interview Questions and Answers with pdf download for experienced 1+, 2+, 3+, 5+ and all android peoples, ANDROID BEST INTERVIEW QUESTIONS WITH ANSWERS PDF DOWNLOAD ONLINE

Android Interview Questions and Answers-1

Android First Step:

Before you start this Session, be sure you have your development environment set up. You need to:

Basics Requirements:
  1. Download the Android SDK.
  2. Install the ADT plugin for Eclipse (if you’ll use the Eclipse IDE).
  3. Download the latest SDK tools and platforms using the SDK Manager.
If you haven't already done these tasks, start by downloading the Android SDK and following the install steps. Once you've finished the setup, you're ready to begin this class.

i) What is android ? What are the features of Android?

Android is a stack of software for mobile devices which has Operating System, middle ware and some key applications..

  1. Components can be reused and replaced by the application framework.
  2. Optimized DVM for mobile devices
  3. SQLite enables to store the data in a structured manner.
  4. Supports GSM telephone and Bluetooth, WiFi, 3G and EDGE technologies
  5. The development is a combination of a device emulator, debugging tools, memory profiling and plug-in for Eclipse IDE.

ii) Why to use Android?

1. Multitasking

"Multitasking" on iOS is a joke. I'm speaking right now from the perspective of a user, but trust me, I also truly know this, having been in the shoes of a developer.

Notifications are horribly presented in modal dialogs; in situations where I have a large number of notifications, usually all but the last one shown to me are lost.

I also desperately long for an IM client which I can use on my IPad which I can naturally interact with while using other apps.

No such app exists since all the apps are forced to go through the cumbersome notification system. On Android, as in a desktop operating system, applications can truly run in the background; on Android, IM can be almost indistinguishable from texting (which is coincidentally also better than iOS).

2. Intents
Android is an intent based operating system. What this means from a user's perspective is a richer more deeply integrated experience.

If I am browsing the web and click on a link to a product on Amazon.com, the context will switch and the product will be opened in the Amazon app.

On iOS, clicking that link would just result in the link being opened in the browser (often times losing the context of the originating application).

Android allows apps to have a deeper and more natural hook into the operating system and user experience. For example, in the coming years, when Google Voice finally gets a true VOIP client, it will be able to seamlessly replace the default calling application.

3. Back Button


The back button is a killer feature and is way more than just a physical button. The android operating system is essentially stack based.

Going from the above example of clicking on an Amazon product link: after the Amazon app is opened, I can intuitively press the back button to return to the application from which I clicked the link.

I cannot count the number of situations on iOS where I lose a retrievable context of where I was inside of an application by clicking on a link.

Nor can I count the number of applications which pop open browser dialogs when you click on a link as a hack to fix this. Imagine how ridiculous it would be if it was the norm for desktop applications to all use an embedded browser. Imagine how unusable it would be.

The closest equivalent on iOS for the back button (that I know of) is double tapping the home button (or four finger swiping) to get a list of the most recent apps and then clicking on the app you last used. Lots of users don't even know you can do this.

The menu button on Android is also very convenient (although not as vital) and saves lots of prime mobile screen real estate.
 
4. Apps

As a user, I never need to buy an application. Moreover and surprisingly, there are many apps on Android that simply have no equivalent on iOS.

If I want to use instant messaging, free apps exist. This is the status quo. Not so on iOS. Also, there is a GMail application which actually has an intuitive interface.

I am shocked by tech-savy people who use the iOS mail application with their GMail account in an outlook-like fashion.

Things like Wifi and USB tethering are also built in to the Android operating system.
 

5. Navigation

Newer version of android have a turn by turn navigation application by Google which uses data from Google Maps.

Although some might consider this a smaller feature, this is hands down the best navigation application I have used and has rendered my Garmin navigation obsolete.

I use this all the time. There is no equivalent for iOS, even though some apps exist in the app store with double digit price tags.


iii) What are the advantages of Android?
The following are the advantages of Android:
1) The customer will be benefited from wide range of mobile applications to choose, since the monopoly of wireless carriers like AT&T and Orange will be broken by Google Android


iv) What is the TTL (Time to Live)? Why is it required?


Time to live (TTL) is a mechanism that limits the lifespan of data in a computer or network. TTL may be implemented as a counter or timestamp attached to or embedded in the data.

Once the prescribed event count or timespan has elapsed, data is discarded. In computer networking, TTL prevents a data packet from circulating indefinitely. In computing applications,

TTL is used to improve performance of caching or improve privacy.


v) What is AndroidManifest.xml ?


Manifest file for an android application is a resource file which contains all the details needed by the android system about the application.

It is a key file that works as a bridge between the android developer and the android platform.

It helps the developer to pass on functionality and requirements of our application to Android.

This is an xml file which must be named as AndroidManifest.xml and placed at application root. Every Android app must have AndroidManifest.xml file.

AndroidManifest.xml allows us to define, The packages, API, libraries needed for the application.
Basic building blocks of application like activities, services and etc.

Details about permissions.Set of classes needed before launch.


vi) What are the key components of Android Architecture?
 
Android Architecture consists of 4 key components:
  1. Linux Kernel
  2. Libraries
  3. Android Framework
  4. Android Applications

vi) What do you know about Intents in Android?

 
  • Notification messages to the user from an Android enabled device can be displayed using Intents. 
  • The users can respond to intents.There are two types of Intents - Explicit Intent, Implicit Intent.







0 comments:

  © Blogger templates Newspaper III by Ourblogtemplates.com 2008

Back to TOP