Mobile Application Development Question:

Download Job Interview Questions and Answers PDF

Described about the exceptions of Android?

Mobile Application Interview Question
Mobile Application Interview Question

Answer:

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.

Download Mobile Application Interview Questions And Answers PDF

Previous QuestionNext Question
Tell me which dialog boxes are supported in android?How to select more than one option from list in android xml file?