Android Interview Questions
and Answers 
1. Explain the Architecture
of Android ? 
A. 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.) 
2. 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, when invoked 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.