Can you create an application on android studio, that has all the requirements for both pieces of the assignment?

bansari91
CISP340A6.pdf

CISP340 – Assignment #6

In this assignment you will complete the Animal Tracker application and extend the SQLite database to include a table that indicates the type of animal what was seen. The ANIMALTYPE table is shown below.

ANIMALTYPE Table (new)

animal_type_cd INTEGER PRIMARY KEY PRIMARY KEY

animal_type_nm TEXT Contains the name of the animal

Populate the ANIMALTYPE table with the data given below.

animal_type_cd animal_type_nm

1 Squirrel

2 Rabbit

3 Deer

4 Fox

5 Skunk!

6 Bald Eagle

This database version will be version 2. Ensure that the database class is properly coded to support a database upgrade from version 1 to version 2.

Complete the wildlife sightings application so that the user can view the list of all animal sightings, add a new sighting, view details on a single sighting, modify a sighting, and remove a sighting. Figure 1 (below) shows the overall flow of the program.

Start Animal Sighting

List

View Update

Add

Remove

Exit

Figure 1

The animal sighting List screen should only contain the type of animal and the date.

The View activity should display all the fields in the database for the specific sighting in read- only controls, while the update screen should show the same information, but only allow the count and the comments to be changed and saved back to the database. After the record is updated return the List screen. If the user cancels the update, return to the View screen.

The remove (delete) functionality from the View screen is an option menu that utilizes and Alert dialog to ask the user if the current record should be deleted. If the answer is ‘no’, then remain on the View screen. If the answer is ‘yes’, then delete the record and return to the List screen.

The add activity should allow a new animal sighting to be added to the database. Upon completion, the user should be returned to the list activity.

All literal string data must be contained within the strings files (SQL/DML/DDL strings are exempt).

The application must not crash due to invalid or missing input.

Submit your project as a single 7-Zip file (7z, zip, or tar). It is important that the project contain the entire Android Studio project folder. Incomplete are partial submissions will not be accepted or graded.