BCA Semester 6 – Mobile Programming – Unit 5: UI Fragments, Menus and Dialogs (6Hrs)
Comprehensive questions and detailed answers for Unit 5: UI Fragments, Menus and Dialogs (6Hrs). Perfect for exam preparation and concept clarity.
Why is fragment needed in android application? How can a fragment be added to an activity?
Develop an android application to calculate simple interest using a customize dialog box.
What is the difference between activity and fragment? Develop an android application to create a user interface for input length, width, and height of a Rectangular box and Button for Volume in one fragment when the button is clicked then these input data are passed into the second fragment and calculate the volume of the Rectangular box and display the result in TextView.
What is Toast? Develop an android application to create an alert dialog to input any number and then calculate the factorial of the number and display the result in Toast.
What does android APK file contain? Develop an android application with a context menu having menu items "Red", "Yellow", "Green", "Black" and "Blue" etc. and change the background color of the layout when the user selects a menu item accordingly.
Develop an android application to display an alert dialog box.
What is menu? Develop an android application to create a popup menu having menu item "Edit", "Copy", "Paste", "Redo" and "Undo".
Develop an android application to display a list of Student (Student name) in ListView and display the student details (student image, roll, name and college) in a Custom Dialog when a ListView item is selected.
Sample Questions
Develop an android application to calculate simple interest using a customize dialog box.
What is the difference between activity and fragment? Develop an android application to create a user interface for input length, width, and height of a Rectangular box and Button for Volume in one fr
What is Toast? Develop an android application to create an alert dialog to input any number and then calculate the factorial of the number and display the result in Toast.
What does android APK file contain? Develop an android application with a context menu having menu items "Red", "Yellow", "Green", "Black" and "Blue" etc. and change the background color of the layout
And more questions available on this page.