Ask Java Expert


Home >> Java

Case Study: Trip Logger

A startup company plans to develop an app which allows users to keep records of their personal trips. The requirements for the app are listed as follows:

1. When a user opens the app, the main user interface appears, which includes the following items:
a. A list of past trips is shown. For each trip item, its title, date, and destination are displayed.
b. Two buttons are displayed at the top of the screen: Log and Settings.

2. When the user clicks a trip item, its details will be displayed in a new UI. The following items should be displayed:
a. Title, Date, Trip Type, Destination, Duration, Comment, Photo.
b. The change should be saved when a user leaves this UI, and the main UI should be refreshed to show the change.
c. A button to delete this record. Deletion should bring the app to the refreshed main UI.
d. A button to show the saved GPS location in Google Map (in a new window).

3. When the user clicks the button "Log" in the main UI, a new UI appears to allow the user to log a new trip. The following items should be displayed:
a. Title, Date, Trip Type, Destination, Duration, Comment, Photo. Trip Type should be confined to the categories of Work/Personal/Commute.
b. The photo item allows the user to take a picture with the camera.
c. The current GPS location is inserted into an un-editable field automatically.
d. A button to save this record, and a button to cancel. Either button will bring the app to the refreshed main UI.
e. The change should also be saved when a user leaves this UI.

4. When the user clicks the button "Settings" in the main UI, a new UI appears to set up the user profile. The following items should be displayed:
a. Name, ID, email, gender, comment.
b. All setting modifications should be saved automatically.
c. Put your Name, student ID, and email as the default value in Name, ID, and email field. You can optionally provide a comment about the course in the comment field.

General implementation requirements:
- Use fragments for UI. Failure to do so will cause a penalty of 4 marks for each activity.
- Save data with SQLite. Failure to do so will cause a penalty of 5 marks.

You also need to prepare a report to explain your design of the app. The following contents are required:
1. MVC diagrams for each UI. There should be 4 MVC diagrams for 4 key activities. The diagram for Google Map Activity is not required.
2. Database schema design. There should be at least two tables, one for Trip, and one for Settings.
3. A final section of 'Reflections'. In this part, discuss any difficulties you had implementing the program and how you solved those difficulties. Reflect on how the development process went for you, what you learnt, and what you might do differently next time.

Code Package Format
The code implementation should be with Android Studio.

Host your code in GitHub or BitBucket, with ".gitignore" correctly configured to filter out all intermediate files generated by Android Studio. An APK file should also be generated and put at the root folder in the git repository. This APK will be used in case that your code cannot be compiled on a different computer during the marking period.

In the first section of your report, clearly explain the approach to access to your Git repository. You have the responsibility to keep the repository fully accessible for four weeks after the due date. Failure to do so will result in the failure of your assignment.

Report Format

Your report should be no less than 1,000 words and it would be best to be no longer than 3,000 words long.
The report is to explain the concepts and designs of your app. The report MUST be formatted using the following guidelines:
- Paragraph text - 12 point Calibri single line spacing
- Headings - Arial in an appropriate type size
- Margins - 2.5cm on all margins
- Header - Report title
- Footer - page number (including the word "Page")
- Page numbering - roman numerals (i, ii, iii, iv) up to and including the Table of Contents, restart numbering using conventional numerals (1, 2, 3, 4) from the first page after the Table of Contents.
- Title Page - Must not contain headers or footers. Include your name as the report's author.
- The report is to be created as a single Microsoft Word document (version 2007, 2010, 2013 or Office 365). No other format is acceptable and doing so will result in the deduction of marks.
- No reference is required.

Please follow the conventions detailed in:
Summers, J. & Smith, B., 2014, Communication Skills Handbook, 4th Ed, Wiley, Australia.

Java, Programming

  • Category:- Java
  • Reference No.:- M91988467
  • Price:- $90

Priced at Now at $90, Verified Solution

Have any Question?


Related Questions in Java

Chatbotscreate a small networked chat application that is

Chatbots Create a small, networked chat application that is populated by bots. Introduction On an old server park, filled with applications from the early days of the internet, a few servers still run one of the earliest ...

Assignment taskwrite a java console application that allows

Assignment task Write a java console application that allows the user to read, validate, store, display, sort and search data such as flight departure city (String), flight number (integer), flight distance (integer), fl ...

Assignment game prototypeoverviewfor this assessment task

Assignment: Game Prototype Overview For this assessment task you are expected to construct a prototype level/area as a "proof of concept" for the game that you have designed in Assignment 1. The prototype should function ...

Assignment taskwrite a java console application that allows

Assignment task Write a java console application that allows the user to read, validate, store, display, sort and search data such as flight departure city (String), flight number (integer), flight distance (integer), fl ...

In relation to javaa what is constructor the purpose of

(In relation to Java) A. What is constructor? the purpose of default constructor? B. How do you get a copy of the object but not the reference of the object? C. What are static variables and instance variables? D. Compar ...

Project descriptionwrite a java program to traverse a

Project Description: Write a java program to traverse a directory structure (DirWalker.java) of csv files that contain csv files with customer info. A simple sample in provided in with the sample code but you MUST will r ...

Fundamentals of operating systems and java

Fundamentals of Operating Systems and Java Programming Purpose of the assessment (with ULO Mapping) This assignment assesses the following Unit Learning Outcomes; students should be able to demonstrate their achievements ...

Assessment -java program using array of Assessment -JAVA Program using array of objects

Assessment -JAVA Program using array of objects Objectives This assessment item relates to the course learning outcomes as stated in the Unit Profile. Details For this assignment, you are required to develop a Windowed G ...

Applied software engineering assignment 1 -learning

Applied Software Engineering Assignment 1 - Learning outcomes - 1. Understand the notion of software engineering and why it is important. 2. Analyse the risk factors associated with phases of the software development lif ...

Retail price calculatorwrite a java program that asks the

Retail Price Calculator Write a JAVA program that asks the user to enter an item's wholesale cost and its markup percentage. It should then display the item's retail price. For example: (If an item's wholesale cost is 5. ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As