Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

Assignment- Mobile client application

Objectives

This assessment item relates to the learning outcome 1, 2, 3 and 4. More specifically to design and implement a complex mobile application.

The objective of this assignment is for students to:

• Develop, test and maintain a mobile internet application using an integrated suite of mobile software development tools. More specifically on the client side jQuery Mobile, JavaScript and HTML5 and CSS are used. On the server side we use JavaScript and the node server with various node packages. The Mongo database is used as a data store and that data is also stored locally on the mobile device.

Introduction

You are assigned the task of creating a data logger to capture package location data in a mobile application that stores the data in a local database. The app has fields to record data for each of five cities were the app is employed. If a city is selected, a page (fragment) is shown to record data values for that city. An entry consists of city data. When the Save Log Entry button is pressed this data is saved locally in the application in a SQLDatabase. When the Show Log Entries button is pressed a related page (fragment) is shown that list all the date/time and data entries made for that city.

We will refer to our app as CityLogs. More details of these pages will be given in the sections below. You should also consult the weekly lecture/tutorials on the Moodle website for help and more information on completing the assignment. The tutorials contain step-by-step procedures for working through the assignment as well as some tips and extra help. Please read the lecture/tutorials on the Moodle website.
The specification of this app will be further refined in Assignment 2.

This app is to be tested using the Safari, FireFox or Chrome browser and tested on an Android or iPhone mobile device.

Client Side HTML / CSS / JavaScript Mobile Application

You are to implement this app using HTML5, CSS and JQuery Mobile. The app is used by a parcel delivery company to record city logs for five cities the company operates in. A number of cities exist and an ID number is used to identify these. For each individual city records are kept of parcel information.

The app should be based on a multi-page template structure. The client side application home page is shown in Fig. 1. The Perth, Brisbane, Sydney, Melbourne and Adelaide buttons should link to pages in a JQuery- mobile multi-page structure.

JQuery-mobile examples of the page/views required to implement the assignment are given in the following figures. Please note that the illustrations are for reference only, and your actual pages will be based on the CSS style-guide in use on your actual mobile device.

Home page view

The home page view is shown in Fig. 1. This is the opening page for the app. A user clicks on a page link and is transferred to that page.

Fig 1: Home page view

Package details view

The pages for entering the package data are all the same so it makes sense to use one html page to show the basic structure and then use Javascript to customise parts of the page, based on what vehicle type we clicked on the home page. The view shown is for the Cities type.

The header has text from the vehicle types {Perth, Brisbane, Sydney, Melbourne, Adelaide} based on what button was pressed on the Home page. Note that this is the only part of the page that differs between the vehicle types.

It also has a Clear and Show logs buttons visible in the header bar. The Clear button will clear the values in all the text entry fields on the page and reset the time buttons to their initial state.

The footer has 3 buttons. The Next button will take you to the next element in the sequence { Perth, Brisbane, Sydney, Melbourne, Adelaide}. The Previous button will take you to the previous element. The Home button will take you back to the home page.

The content of a city page has a time button and two text entry fields with labels, Contact: and Invoice #:, and a drop down list for selectingthe package destination as shown in Fig. 2.

When valid data is entered into all the text entry fields the Save log entry button can be pushed to save a log for the city. If any of the data values are null (empty strings) then an alert should be shown to indicate the problem, as in Fig. 3.

Fig 2: City packages page view

Fig 3. Sample dialogs.

Dialogs must also be shown when there were problems saving the log (Fig. 3), alternatively a success dialog should be shown (Fig. 3).

Any number of log entries of a particular city can be made in this manner. Thus the app will build a list of saved items for each city.

City logs view

Pressing the Show logs button also triggers a request for the location (latitude/longitude) to be added to the city data. The city log entries list should then be saved in the device's localStorage.

The final effect of pressing the Show logs button is that a city logs page is shown with a list used to display all the current city logs for that city, as shown in Fig. 4a. Fig. 4b shows the display when more than 1 entry has been saved.

Pressing the Back button on the footer should take you to the previous page.

Fig. 4: City logs page.

The Send button on the city logs header bar is used to send the data over the WWW and clear the particular city logs in the app. This will be done in the second assignment. For now we will use this to clear all this city data for this city in the localStorage. As this deletes data you must present a dialog box to the user with a choice to either send the logs or not, as shown in Fig. 5.

Fig. 5: Send logs confirmation dialog.

If the Yes button is pressed the Send logs dialog shown in Fig. 6 is presented and we return to the city data entry page shown in Fig. 2 and if No is pressed we just return to the city view in Fig. 2.

Fig. 7: Logs sent confirmation.

Required Documentation

You are also to prepare a Word document. Your document should include an appropriate title page. Your document should have two sections that address the hardware and software requirements and application commentary given below.

Hardware and Software Requirements

Your document should:

• Create a list of mobile devices targeted for the mobile web app. State what devices you tested the web app on.

Application Commentary

Your document should:

• List the features you successfully implemented and those you were unable to successfully implement; you should describe the problem in a few sentences and also briefly describe anything you attempted to do to get it to work. Your approach to identifying and attempting to fix these bugs may gain you some partial credit for those features you were unable to implement.

• Include a description of any additional functionality you believe would be useful to add to this app. Explain what these new features are and how they would help to improve the web app.

Submission

You are required to submit your assignment electronically via the Moodle course website. The deliverable is a rar or zipped directory containing all the code and resources needed for testing. You must tar, rar or zip together:

• The directory containing all the files, folders, images required to test your mobile application

• Your Word document.

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M92784235

Have any Question?


Related Questions in Computer Engineering

Question a suppose that a particular algorithm has time

Question : a) Suppose that a particular algorithm has time complexity T(n) = 3 x 2 n , and that executing an implementation of it on a particular machine takes t seconds for n inputs. Now suppose that we are presented wi ...

Question explain the difference between physical network

Question: Explain the difference between physical network segmentation and microsegmentation as they relate to cloud security. Explain what it means to implement a zero trust security strategy. Explain how microsegmentat ...

How do you calculate the annual interest rate of 12

How do you calculate the annual interest rate of 12% compounded monthly. I know how to do for annually but not monthly. You are offered the opportunity to put some money away for retirement. You will receive 10 annual pa ...

Strings in cstrings manipulationwrite one main code with

Strings in C++ Strings manipulation Write one main code with the following functions. Toggle Write a function called toggle() that accepts a string, and an integer. The function checks whether the character at the positi ...

In defining demand and supply why do economists focus on

In defining demand and supply, why do economists focus on price while holding constant other factors that might have an impact on the behavior of buyers and sellers?

Given that many new business fail in the first few years

Given that many new business fail in the first few years, how should an entrepreneur think about the risk of failure associated with a new business from what you have learnt? what an entrepreneur do to increase the chanc ...

How can word processing software give a person the ability

How can Word Processing software give a person the ability to better position themself or a business, in today's society? Why?

Consider a project to supply 97 million postage stamps per

Consider a project to supply 97 million postage stamps per year to the U.S. Postal Service for the next five years. You have an idle parcel of land available that cost $1,690,000 five years ago; if the land were sold tod ...

Compare remote authentication dial-in user service radius

Compare Remote Authentication Dial-In User Service (RADIUS) and Terminal Access Controller Access-Control System Plus (TACACS+).

Without doing any math or drawing a graph which is bigger

Without doing any math, or drawing a graph, which is bigger, compensating variation or equivalent variation for a tax? Consider an individual with Cobb-Douglas preferences over some good and all other goods. In what sens ...

  • 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