Question
Purpose: Create an app that allows a user to search a location or address, and display information of two departments CIS and MEA. Instructions: 1.
Purpose: Create an app that allows a user to search a location or address, and display information of two departments CIS and MEA.
Instructions: 1. The layout can be depicted as follows. A MainActivity hosts two fragments. One fragment is to display a Google Map when a location or address is entered an the Map button is clicked on the MainActivity layout. The other fragment is to display information (location, majors offered, and phone number) when the department names (CIS or MEA) is entered and Program Information button is clicked.
2. For example, when BMCC is entered and the Map button is clicked, the Google Map should display BMCC on the Map. 3. If no location or address is entered and user clicks Map button, then an error message should be displayed using a toast. Similarly, if an invalid location or address is entered, an error message should be displayed using a toast. 4. If a user enters CIS or MEA for the Program Information textbox and the button is clicked, the corresponding programs information will be displayed respectively.
2:07 Map bmcd Program Informatio n Pleas enter a department name
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started