Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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.

image text in transcribed

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.

image text in transcribed 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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Technology And Management Computers And Information Processing Systems For Business

Authors: Robert C. Goldstein

1st Edition

0471887374, 978-0471887379

More Books

Students also viewed these Databases questions