Wednesday 11 February 2015

MNC Companies asked Android Interview Questions and Answers (Page 5)

Below are some important Android interview questions which are asked in most MNC company interviews for beginners or professionals.
21. Explain about the exceptions of Android?
The followng are the exceptions that are supportedAndroid
* InflateException: When an error conditions are occurred, this exception is thrown
Surface.OutOfResourceException: When a surface is not created or resized, this exception 1hro
*SurfaceHolder.BadSurfaceTypeException: This exception is thrown from the lockCanvas() method, when invoked on a Surface whose is SURFACETYPE_PUSH_BUFFERS
• WindowManager.BadTokenException: This exception is thrown at the time of tryrng to add view an invalid WindowManager.LayoutParamstoken.

22. What are the features of 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 devi ce emulator, debugging tools, memory profiling and plug -in for Eclipse IDE.

23. What are the differences between a domain] workgroup?
In a domain, one or more computer can be a server to manage the network. On the other hand in a orkgroup all computers are peers having no control on each other. In a domain.
user doesn’t need an account to logon on a specific computer if an account is available on the domain. In a work group user needs to have an account for every computer.
In a domain, Computers can be o n different local networks. In a work group all computers needs to be a part of the same local network.

24. What is needed to make a multiple choice list with a custom view for each row?
Multiple choice list can be viewed by making the CheckBox android:id va lue be “@android:id Itextl “. That is the ID used by Android for the CheckedTextView in
simplejist_item_multiple_choice.

25. What are the dialog boxes that are supported in android? Explain.
Android supports 4 dialog boxes:
AlertDialog: An alert dialog box supports 0 to 3 buttons and a list of selectable elements, including check boxes and radio buttons. Among the other dialog boxes, the most suggested dialog box is the alert dialog box.
ProgressDialog: This dialog box displays a progr ess wheel or a progress bar. It is an extension of AlertDialog and supports adding buttons.
DatePickerDialog: This dialog box is used for selecting a date by the user.
TimePickerDialog: This dialog box is used for selecting time by the user.
More Questions & Answers :-
Page1  Page2  Page3  Page4  Page5

No comments:

Post a Comment