1. Homepage
  2. Programming
  3. [2022] CSE 460: Software Analysis and Design - Unit5 - Ideal Weight - MVC Architecture Mobile App
This question has been solved

[2022] CSE 460: Software Analysis and Design - Unit5 - Ideal Weight - MVC Architecture Mobile App

Engage in a Conversation
CSE 460Software Analysis and DesignProgramming HelpAndroidiOSJavaSwiftObject-CASUArizona State University

Ideal Weight - MVC Architecture Mobile App CourseNana.COM

Purpose: CourseNana.COM

Software architecture and web data integration are fundamentally important in mobile app design and implementation. This project provides students with the opportunity to put their knowledge of MVC architecture and mobile web integration into practice. Students will develop a simple Ideal Weight calculator application using MVC architecture, then use Web APIs to perform the same Ideal Weight calculation. CourseNana.COM

Objectives: CourseNana.COM

Students will be able to: CourseNana.COM

  • ●  Apply the MVC architecture to design a mobile app that satisfies given requirements
  • ●  Implement an MVC architecture-based mobile app
  • ●  Use Web API calls
  • ●  Process JSON data in a mobile app

Technology Requirements: CourseNana.COM

Students may develop an iOS app (preferred) or an Android app. For iOS app: CourseNana.COM

● XCode 13 or above, programming language Swift (no Objective-C) - strongly preferred For Android app: CourseNana.COM

● Android SDK using Java CourseNana.COM

Project Overview: CourseNana.COM

Phase I [40 Pts]: Design and implement a mobile app that calculates Ideal Weight and displays the results to the user.
Phase II [30 Pts]: Use web API call to calculate BMI and use the API call results to Ideal Weight to the user. CourseNana.COM

Project Description: CourseNana.COM

Create an application that, when given the height inches, gender (M or F) and the current weight of a person (as an int value), calculates their Ideal Weight in two ways. In the first phase of this project, you will implement a Ideal Weight calculator of your own based on the guidelines provided. In the second phase, you will use a REST API call to calculate the Ideal Weight once the height inches, gender (M or F) and the current weight are given as parameters to the API. CourseNana.COM

The main view of your app should have two buttons: "Calculate Ideal Weight " and "Calculate Ideal Weoght using API." Each button leads a user to two different views of the app, which implement phases I and II respectively. The overall user interface of the application should follow the guidelines provided in Figure 1. CourseNana.COM

Storyboard Design Guidelines for Phases I and II CourseNana.COM

Note: These design guidelines are based on XCode 10 and developed using swift 4.2. Students using Android SDK can following corresponding design tools available in Android SDK. CourseNana.COM

Figure 2 shows the storyboard design of the app showing all the views and the file structure required in this application CourseNana.COM

Submission Directions for Project Deliverables CourseNana.COM

Submit your Phase I project as a zip file that implements all Phase I requirements. Name your zip file “FirstName_LastName_IdealWeight Calculator Project_Phase_I.zip”. CourseNana.COM

Submit your Phase II project as a separate zip file that implements all Phase II requirements. Name your zip file “FirstName_LastName_ IdealWeight Calculator Project_Phase_II.zip”. CourseNana.COM

Phase I: CourseNana.COM

Ideal Weight Calculator CourseNana.COM

Your application should be designed and implemented using MVC architecture, View and the View controller handles, and UI display and UI actions. The model should perform the Ideal Weight calculation and provide the results to the View Controller. See Figure 3 for the UI for Phase I. CourseNana.COM

Design and implement an application that meets the listed criteria: CourseNana.COM

  • ●  Reads the height inches, gender (M or F) a person, and the current weight of a person (as an int value)
  • ●  Calculates the Ideal Weight using following equation

Ideal Weight = 100 + (height(in inches) – 60)*5 CourseNana.COM

Then, displays the following messages to the user based on the Ideal Weight CourseNana.COM

You are obese if the current weight is 15 pounds more than the Ideal weight - Red Color CourseNana.COM

Otherwise, You are pre-obese if the current weight is 10 pounds more than the Ideal weight – Purple Color CourseNana.COM

Otherwise, You are normal if the current weight is + or – 5 pounds of the Ideal Weight- Green Color CourseNana.COM

If none of the above, You are underweight - Blue Color CourseNana.COM

Phase II: CourseNana.COM

Ideal Weight API CourseNana.COM

Calculate Ideal Weight using a Web API Call. The API should take the height and weight as parameters and return the Ideal Weight, Risk Factor, and Array of web links with health information. Your app should read the height inches, gender (M or F) a person, and the current weight of a person (as an int value) as in Phase I, but call the API to calculate the Ideal Weight. See the example API call in Figure 4 for a height of 72 inches, gender M and current weight of 156 lbs. CourseNana.COM

Your application should process the JSON results and display Ideal Weight information to the user, as in Phase I. Additionally, when the user selects the button "Educate Me," the app should load a web page that shows additional information about health by using one of the web links from the JSON results. CourseNana.COM

See Figure 5 for the UI for Phase II. CourseNana.COM


CourseNana.COM

http://webstrar99.fulton.asu.edu/page2/Service1.svc/IdealWeight?height=72&currentWeight=156&gender=M CourseNana.COM


CourseNana.COM


CourseNana.COM

The results from the API call is a JSON document structure: CourseNana.COM

{ CourseNana.COM

"healthInformation":["https:\/\/familydoctor.org\/what-you-can-do-to-maintain-your- health\/","https:\/\/www.livestrong.com\/article\/281134-how-to-calculate- ibw\/","https:\/\/www.populytics.com\/blog\/10-habits-maintain-good-health\/"], CourseNana.COM

"idealW":178, CourseNana.COM

"riskFactor":"You are under weight" CourseNana.COM

} CourseNana.COM

Figure 4: Example API call for a height of 72 inches and weight of 156 lbs CourseNana.COM

  CourseNana.COM

Get in Touch with Our Experts

WeChat (微信) WeChat (微信)
Whatsapp WhatsApp
CSE 460代写,Software Analysis and Design代写,Programming Help代写,Android代写,iOS代写,Java代写,Swift代写,Object-C代写,ASU代写,Arizona State University代写,CSE 460代编,Software Analysis and Design代编,Programming Help代编,Android代编,iOS代编,Java代编,Swift代编,Object-C代编,ASU代编,Arizona State University代编,CSE 460代考,Software Analysis and Design代考,Programming Help代考,Android代考,iOS代考,Java代考,Swift代考,Object-C代考,ASU代考,Arizona State University代考,CSE 460help,Software Analysis and Designhelp,Programming Helphelp,Androidhelp,iOShelp,Javahelp,Swifthelp,Object-Chelp,ASUhelp,Arizona State Universityhelp,CSE 460作业代写,Software Analysis and Design作业代写,Programming Help作业代写,Android作业代写,iOS作业代写,Java作业代写,Swift作业代写,Object-C作业代写,ASU作业代写,Arizona State University作业代写,CSE 460编程代写,Software Analysis and Design编程代写,Programming Help编程代写,Android编程代写,iOS编程代写,Java编程代写,Swift编程代写,Object-C编程代写,ASU编程代写,Arizona State University编程代写,CSE 460programming help,Software Analysis and Designprogramming help,Programming Helpprogramming help,Androidprogramming help,iOSprogramming help,Javaprogramming help,Swiftprogramming help,Object-Cprogramming help,ASUprogramming help,Arizona State Universityprogramming help,CSE 460assignment help,Software Analysis and Designassignment help,Programming Helpassignment help,Androidassignment help,iOSassignment help,Javaassignment help,Swiftassignment help,Object-Cassignment help,ASUassignment help,Arizona State Universityassignment help,CSE 460solution,Software Analysis and Designsolution,Programming Helpsolution,Androidsolution,iOSsolution,Javasolution,Swiftsolution,Object-Csolution,ASUsolution,Arizona State Universitysolution,