Search This Blog

05 September, 2011

Android Interview Question and answers


Android Interview Question and answers 
1)Describe the APK format.
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.

2)What is an action?
A description of something that an Intent sender desires.

3)What is activity?
A single screen in an application, with supporting Java code.

4)What is intent?
A class (Intent) describes what a caller desires to do. The caller sends this intent to Android's intent resolver, which finds the most suitable activity for the intent. E.g. opening aPDF file is an intent, and the Adobe Reader is the suitable activity for this intent.

5)How is nine-patch image different from a regular bitmap?
It is a resizable bitmap resource that can be used for backgrounds or other images on the device. The NinePatch class permits drawing a bitmap in nine sections. The four corners are unscaled; the four edges are scaled in one axis, and the middle is scaled in both axes.

6)What languages does Android support for application development?
Android applications are written using the Java programming language.

7)What is a resource?
A user-supplied XML, bitmap, or other file, injected into the application build process, which can later be loaded from code.
-------------------------------------------------------------------------------------------------------------More Questions------

No comments:

Post a Comment

Meetme@