Question

In: Computer Science

the code base you will be working with involves an Android application. (Android Studio) application name...

the code base you will be working with involves an Android application. (Android Studio)

application name " SharingApp"

In the application’s current state:

A user of the app is able to create and edit a profile with a unique username and an email address.

A user of the app is able to login and logout.

An owner is able to record the items they own and wish to share.

A bidder is able to place bids on items they wish to borrow from other owners, which changes the status of the item to “Bidded”.

An owner is able to accept a bid and lend the item to the bidder, which changes the status of the item to “Borrowed”.

An owner may change the status of an item they own from “Borrowed” to “Available” when the item is no longer being borrowed.

An owner may view: all of their items; their “Available” items; their “Bidded” items; or, their “Borrowed” items.

A borrower may view a list of items they are borrowing.

A user of the app is able to search a list of all “Available” and “Bidded” items by keywords.

An owner is able to view the profile of a borrower who is borrowing one of their items.

Once you have identified what needs to be stored, create a small UML Class Diagram to show which data should be stored. You only have to include the classes and corresponding attributes that will have data stored remotely. You shouldn’t have to include every class in the app. It is okay to leave methods out of the diagram

Style guidelines for UML class diagram

  • whole things should be drawn to the left of the part
  • there should be few crossing edges
  • boxes should not overlap other boxes or edges
  • diagram should flow from top to bottom and left to right

Solutions

Expert Solution

Let’s turn to this diagram this class diagram contains six classes.they are Department, Owner, Bidder, product, bidding, and seller.

Department contains two attributes, that is Deptno, Deptname.

next class Owner contains the attributes are adminNo,adminusername,adminpassword,and email.

owner class operations are manage product(),manage department(),manage user(),manage bidder(),return report(),return product(),request(),view request().

Similarly, all classes contain class name, class attributes, class operations are represented.


Related Solutions

Android Studio Code: Provide a working android studio code i.e java and xml code for the...
Android Studio Code: Provide a working android studio code i.e java and xml code for the activity below: Develop an application that is capable to turn pages back and forth. Detailed Instructions: For the main activity, create a layout that represents a fictitious title and author. The activity should include a clickable button on the bottom right that allows you to go forward to the next activity. The next activity will simply be an image above simple text that can...
Create a mobile application using Android studio, for cinema tickets reservation. The application will be used...
Create a mobile application using Android studio, for cinema tickets reservation. The application will be used by the customers to book cinema tickets. Only users of 15 years old and above are allowed to book cinema tickets for a particular film. The user can book more than one ticket where ticket prices vary between 20 and 50 AED. Your app contains tree Activities. The first activity is a launching activity containing a logo and a button start. When the user...
Android Studio. Java. Please create an application that -> An activity that allows user to enter...
Android Studio. Java. Please create an application that -> An activity that allows user to enter name, gender, date of birth, state of residence (selected from a pre-defined list: CA, AZ, NV, OR), email address and favorite website. This activity has a button "Show Data" that displays detail entered
Extend the Hello Goodbye application from the class to include the following using android studio: 1....
Extend the Hello Goodbye application from the class to include the following using android studio: 1. Add a Text Color button underneath the existing Exclamation button, using the same text color and background image. When this button is clicked, toggle the display color for the Hello or Goodbye text between the original color and the color Red. 2. Add a Reset button underneath the new text color button, using the same text color and background image. When this button is...
Application on Android Studio.   "Rock Paper Scissor". The app should ask the user to select "Rock",...
Application on Android Studio.   "Rock Paper Scissor". The app should ask the user to select "Rock", "Paper" or "Scissor" ; the phone randomly selects a possible choice and then a winner is declared; if it is a tie, the game should continue till a winner emerges.
I need the java code for a 4-function calculator app on android studio (do this on...
I need the java code for a 4-function calculator app on android studio (do this on android studio). Please make sure all the requirements shown below are followed (such as the error portion and etc). The topic of this app is to simply create a 4 function calculator which calculates math expressions (add, subtract, multiply, and divide numbers). The requirements are the following : - The only buttons needed are 0-9, *, /, +, -, a clear, and enter button...
I need the java code for a 4 function calculator app on android studio (do this...
I need the java code for a 4 function calculator app on android studio (do this on android studio) - The requirements are the following : - The only buttons needed are 0-9, *, /, +, -, a clear, and enter button - Implement the onclicklistener on the main activity - The calcuator should use order of operations (PEMDAS) - It should be able to continue from a previous answer (Ex: If you type 2+6 the calculator will display 8....
Application on Android Studio "Tip Calculator" that calculates tip amount and total bill amount 1. Takes...
Application on Android Studio "Tip Calculator" that calculates tip amount and total bill amount 1. Takes as input a bill amount. 2. Allows user to select a tip percentage between 0-25% 3. Displays tip amount and total amount (total amount = bill amount+ tip amount) Hint: As tip percentage is a fixed range, you can use a SEEKBAR and as user slides the bar, auto calculate the tip amount and total amount.
Write a code in order to make an android application of LZ77 compression algorithm for text...
Write a code in order to make an android application of LZ77 compression algorithm for text compression.
android studio Reproduce the same action as this using a ListView. <resources> <string-array name="pizzas"> <item>Ham and...
android studio Reproduce the same action as this using a ListView. <resources> <string-array name="pizzas"> <item>Ham and Pineapple</item> <item>Supreme</item> <item>Seafood</item> <item>Italian</item> <item>Meat Lovers</item> </string-array> </resources> Following is the layout XML File <?xml version="1.0" encoding="utf-8"?> <android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" tools:context=".MainActivity"> <Spinner android:id="@+id/spinner" android:layout_width="368dp" android:layout_height="wrap_content" tools:layout_editor_absoluteX="8dp" tools:layout_editor_absoluteY="42dp" /> <TextView android:id="@+id/textView" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="TextView" tools:layout_editor_absoluteX="163dp" tools:layout_editor_absoluteY="145dp" /> </android.support.constraint.ConstraintLayout> Following is the JAVA main File. package com.example.wincrap.myapplication; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.AdapterView; import android.widget.ArrayAdapter; import android.widget.Spinner; import android.widget.TextView; public class...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT