Sunday 22 September 2013

Android Questions and Answers | Best Android Interview Questions for experienced pdf for freshers

Android Interview Questions and Answers 1 · Android Interview Questions ...BEST ANDROID INTERVIEW Questions Free PDF Download, Latest Interview Questions ANDROID INTERIEW QUESTIONS AND ANSWERS for experienced pdf for freshers, android interview questions and answers for experienced pdf interview questions and answers for android
 
1. What is android?
  • A.Android is a stack of software for mobile devices which has Operating System, middle ware and some key applications.
  • The application executes within its own process and its own instance of Dalvik Virtual Machine.Many Virtual Machines run efficiently by a DVM device. DVM executes Java language byte code which later
  • transforms into .dex format files.

2. What are the advantages of Android?

A. The following are the advantages of Android:
  • 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. 
  • Features like weather details, live RSS feeds, opening screen, icon on the opening screen can be customized
  • Innovative products like the location-aware services, location of a nearby convenience store etc., are some of the additive facilities in Android. 
  • Components can be reused and replaced by the application framework. 
  • Optimized DVM for mobile devices
  • SQLite enables to store the data in a structured manner.
  • Supports GSM telephone and Bluetooth, WiFi, 3G and EDGE technologies 
  • The development is a combination of a device emulator, debugging tools, memory profiling and plug-in for Eclipse IDE.

3. Explain about the exceptions of Android?

A.The following are the exceptions that are supported by Android
  •  InflateException : When an error conditions are occurred, this exception is thrown
  • Surface.OutOfResourceException: When a surface is not created or resized, this exception is thrown
  • SurfaceHolder.BadSurfaceTypeException: This exception is thrown from the lockCanvas() method, wheninvoked on a Surface whose is SURFACE_TYPE_PUSH_BUFFERS
  • WindowManager.BadTokenException: This exception is thrown at the time of trying to add view an invalid
  • WindowManager.LayoutParamstoken.

4. Describe the APK format.

A.The APK file is compressed the AndroidManifest.xml file, application code (.dex files), resource files, and
other files. A project is compiled into a single .apk file.

5. What is .apk extension?

A.The extension for an Android package file, which typically contains all of the files related to a single Android application. The file itself is a compressed collection of an AndroidManifest.xml file, application code (.dexfiles), resource files, and other files. A project is compiled into a single .apk file.

6. What is .dex extension?

A.Android programs are compiled into .dex (Dalvik Executable) files, which are in turn zipped into a single
.apk file on the device. .dex files can be created by automatically translating compiled applications written in
the Java programming language.

7. Explain the Architecture of Android ?

A. Top -> Applications (Contacts, Browser, Phone, etc) Below Applications -> Application Framework(Activity Manager, Window Manager, Content Providers, ViewSystem, 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.)

8. What is an activity?

A. A single screen in an application, with supporting Java code.
An activity presents a visual user interface for one focused endeavor the user can undertake.
For example, an activity might present a list of menu items users can choose from or it might display
photographs along with their captions.

9. What is a service?

A.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 theService base class.

10. How to Remove Desktop icons and Widgets?

A. 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 reddrop the item and it is gone

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

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

12. How to select more than one option from list in android xml file?

A. Give an example.
Specify android id, layout height and width as depicted in the following example.

13. What languages does Android support for application development?

A.Android applications are written using the Java programming language.

14. Describe Android Application Architecture?

A.Android Application Architecture has the following components:
• Services – like N
• Intent – To perform inter-communication network Operation between activities or services
• Resource Externalization – such as strings and graphics
• Notification signaling users – light, sound, icon, notification, dialog etc

15. What is the Android Open Source Project?

A. We use the phrase “Android Open Source Project” or “AOSP” to refer to the people, the processes, and the source code that make up Android.

16. Why did we open the Android source code?

A .Google started the Android project in response to our own experiences launching mobile apps. We wanted to make sure that there would always be an open platform available for carriers, OEMs, and developers to use to make their innovative ideas a reality. We also wanted to make sure that there was no central point of failure, so that no single industry player could restrict or control the innovations of any other. The single most important goal of the Android Open-Source Project (AOSP) is to make sure that the open-source Android software is implemented as widely and compatibly as possible, to everyone’s benefit. 


17. What is included in Mono for Android?



A. Mono for Android consists of the core Mono runtime, the Mono for Android bindings to the native Android APIs, a Visual Studio 2010 plugin to develop Android applications and an SDK that contains the tools to build, debug and deploy your applicationsOur Visual Studio 2010 plugin allows developers to use Visual Studio 2010 to develop, debug and deploy their applications to an Android simulator, an Android device, or the Android Application Store.Our MonoDevelop IDE also ships an addin to support Mono for Android development.

0 comments:

  © Blogger templates Newspaper III by Ourblogtemplates.com 2008

Back to TOP