Design an Android application for the Department of Tourism called SATourismApp. The application must have a GUI. The application must make use of the SQLite Database to store and retrieve details of the tourist attractions. The app must consist of the following activities/classes:   Main activity: This is the main user interface of the application.   PlaceDetails class: This will handle the details of the tourist attractions.  SQLite Helper class: This will handle the database and tables creation and also performing the CRUD operations. SQLite Helper class For this task you are only going to perform CR (Create & Read) operations. Create an SQLite database called satourist.   Your database should have a table called touristattractions to store details of the tourist destinations found in the nine provinces of South Africa. provides the provinces and the tourist attractions you need to add to your database. Make use of an addPlaces() method to add the tourist attractions to the database.   The database should have a getPlaceDetails() method which gets specific tourist attractions details that were requested from the Spinner. Note that the Main Activity will need this method. Make use of the Cursor implementation that exposes results from a query on a SQLiteDatabase. Main Activity:   It should be spinner widget which must be populated with the nine provinces of South Africa.   When a particular province is selected, the application must display the tourist attraction for that province from the database to a TextView widget. Hint: make use of the onItemSelectedListener to listen to changes to the spinner. Place Details class It must consist of a constructor and getter methods to get details of a particular place requested for

Principles of Information Systems (MindTap Course List)
12th Edition
ISBN:9781285867168
Author:Ralph Stair, George Reynolds
Publisher:Ralph Stair, George Reynolds
Chapter7: The Internet, Web, Intranets, And Extranets
Section: Chapter Questions
Problem 5SAT
icon
Related questions
Question

Design an Android application for the Department of Tourism called SATourismApp. The application must have a GUI.

The application must make use of the SQLite Database to store and retrieve details of the tourist attractions.

The app must consist of the following activities/classes:

  •   Main activity: This is the main user interface of the application.

  •   PlaceDetails class: This will handle the details of the tourist attractions.

 SQLite Helper class: This will handle the database and tables creation and also performing the CRUD operations.

SQLite Helper class

For this task you are only going to perform CR (Create & Read) operations. Create an SQLite database called satourist.

  •   Your database should have a table called touristattractions to store details of the tourist

    destinations found in the nine provinces of South Africa. provides the provinces and the tourist attractions you need to add to your database. Make use of an addPlaces() method to add the tourist attractions to the database.

  •   The database should have a getPlaceDetails() method which gets specific tourist attractions details that were requested from the Spinner. Note that the Main Activity will need this method. Make use of the Cursor implementation that exposes results from a query on a SQLiteDatabase.

Main Activity:

  •   It should be spinner widget which must be populated with the nine provinces of South Africa.

  •   When a particular province is selected, the application must display the tourist attraction for that province from the database to a TextView widget. Hint: make use of the onItemSelectedListener to listen to changes to the spinner.

Place Details class

  • It must consist of a constructor and getter methods to get details of a particular place requested for.
5:09
5:10
SA Tourism App
SA Tourism App
Welcome to SA Tourism App
Welcome to SA Tourism App
Select Province Gauteng
Select Province North West
Union Buildings
Sun City Resort
Transcribed Image Text:5:09 5:10 SA Tourism App SA Tourism App Welcome to SA Tourism App Welcome to SA Tourism App Select Province Gauteng Select Province North West Union Buildings Sun City Resort
5:17
SA Tourism App
Welcome to SA Tourism App
Select Province Northern Cape
Limpopo
Sur Mpumalanga
North West
Free State
KwaZulu Natal
Transcribed Image Text:5:17 SA Tourism App Welcome to SA Tourism App Select Province Northern Cape Limpopo Sur Mpumalanga North West Free State KwaZulu Natal
Expert Solution
steps

Step by step

Solved in 7 steps

Blurred answer
Knowledge Booster
Windows
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Principles of Information Systems (MindTap Course…
Principles of Information Systems (MindTap Course…
Computer Science
ISBN:
9781285867168
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning
Fundamentals of Information Systems
Fundamentals of Information Systems
Computer Science
ISBN:
9781305082168
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning