logo Use CA10RAM to get 10%* Discount.
Order Nowlogo
(5/5)

Your first task is to implement a shopping list.

INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS

Part 2 Submission

Setup

The file name must be part2.zip. Files named differently will not be marked.

Unreadable files will not be marked (e.g., different file formats like. tar or .tar.gz). Code that does not build and execute will not be marked.

Make sure your project executes correctly, i.e., the application is built and installed in your emulator/physical devise. You can execute gradle assemble from the command line, which should execute successfully and generate the apk file app/build/outputs/apk/debug/app- debug.apk.

Clean up your project and remove unnecessary files by executing Build > Clean Project on Android Studio or /gradlew clean from the command line.

Export your Android Studio project as a zip file: File > Manage IDE Settings >Export to Zip File. The file name must be part2.zip.

Move/copy the exported file to the sem2hw folder you have created.

Finally, rerun/test your project again - unzip it and import it on Android Studio to check that everything works.

To start working on your solution, download part2.zip, unzip it locally, and import it as an Android Studio project.

Tasks 4. Design and Implementation [70 marks]

Your first task is to implement a shopping list.

The data that you need to store for each shopping list is as follows:

• ListId: the unique id for a shopping list; this is an internal field and must not be shown anywhere in the app.

.

name: the name of the shopping list (a string); each list name must be unique.

image: an optional image to be associated with the shopping list.

For each product added to the shopping list, the app must allow the following fields:

.

.

name: the name of the product added to the shopping list (a string); cach product name must be unique in a shopping list.

quantity: a value indicating the quantity of the product. The text field for this must be of input type number.

unit: the unit for the item, which should be one of "Unit", "Kg", "Litre" (add more units if you wish), implemented in the UI using a Spinner view.

You will have to create the necessary Java classes to implement this. All your Java classes should be created in package uk.ac. Le.co2103.part2.

 

(5/5)
Attachments:

Related Questions

. Introgramming & Unix Fall 2018, CRN 44882, Oakland University Homework Assignment 6 - Using Arrays and Functions in C

DescriptionIn this final assignment, the students will demonstrate their ability to apply two ma

. The standard path finding involves finding the (shortest) path from an origin to a destination, typically on a map. This is an

Path finding involves finding a path from A to B. Typically we want the path to have certain properties,such as being the shortest or to avoid going t

. Develop a program to emulate a purchase transaction at a retail store. This program will have two classes, a LineItem class and a Transaction class. The LineItem class will represent an individual

Develop a program to emulate a purchase transaction at a retail store. Thisprogram will have two classes, a LineItem class and a Transaction class. Th

. SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of Sea Ports. Here are the classes and their instance variables we wish to define:

1 Project 1 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of

. Project 2 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of Sea Ports. Here are the classes and their instance variables we wish to define:

1 Project 2 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of

Ask This Question To Be Solved By Our ExpertsGet A+ Grade Solution Guaranteed

expert
Um e HaniScience

748 Answers

Hire Me
expert
Muhammad Ali HaiderFinance

877 Answers

Hire Me
expert
Husnain SaeedComputer science

630 Answers

Hire Me
expert
Atharva PatilComputer science

677 Answers

Hire Me

Get Free Quote!

395 Experts Online