Question

Using Android Studios. Scenario: You recently started working as the mobile app developer for a University...

Using Android Studios.

Scenario: You recently started working as the mobile app developer for a University and have been assigned to build a mobile app that calculates the students' grade. Your app should contain following screens:

Screen 1

  1. Labels for subject1, subject2, and subject3
  2. Textboxes for subject1, subject2, and subject3
  3. Labels for MaxGrade, MinGrade, and Avg.Grade
  4. Submit button
  5. Once user clicks submit button, you need to display letter grade in a label

Screen 2

  1. Screen that allows students to register for the course
  2. Once student register for the course, then the first screen should be updated dynamically with subjectnumber
  3. Once the subject is added in screen 1, then your dynamic control needs to have same validations applied as screen 1.

You also need to have following validations in your mobile app.

  1. Subject1, Subject2, Subject3 and any dynamic generated subjects values should be less than 100
  2. Subject1, Subject2, Subject3 and any dynamic generated subjects are required fields
  3. It is not possible to click submit button without entering Subject1, Subject2, Subject3 and any dynamic generated subjects.

Follow this step by step approach to resolve this problem.

  1. Create the android studio project
  2. Use Android studio layout editor
  3. Add textboxes and labels
  4. Add Button in the UI
  5. Create the required field validation for Subject1, Subject2, and Subject3 text boxes
  6. Create the validation to ensure Subject1, Subject2 and Subject3 textbox values should be numeric only and less than 100
  7. Run the entire project and validate the output screen

You need to submit following items in a zip file as part of thesubmission.

  • Android Project
  • Output screenshots

Question 2

Scenario: Once your UI is defined in Question 1, you need to create the logic to display the letter grade. You need to display the letter grade as soon as the user clicks the submit button in your app. Your app should calculate the logic as described below.

(Subject1+Subject2+Subject3/300)*100

If the output is between 90-100, then grade A

If the output is between 80-90, then grade B

If the output is between 70-80, then grade C

If the output is below 70, then grade F

  1. Update the existing project from Question 1
  2. Create Max, Min subject grade label
  3. Use if else loop to create the conditional logic on button click events
  4. Display the output
  5. Declare the variable before the oncreate function
  1. Calculate the minimum value from subject 1, subject 2, subject 3 and any dynamic generated subjects.
  2. Calculate the Maximum value from subject 1, subject 2, subject 3 and any dynamic generated subjects.

You need to submit following items in a zip file as part of submission.

  • Android Project
  • Output screenshots
0 0
Add a comment Improve this question Transcribed image text
Answer #1

you would need to construct classes for subjects with its object passed between both the screens which can be done using objects, intents and various other methods in java and android.
On the second screen: the registration screen - you need to inflate the list with all available courses again it can be an object list for the same class subjects.
once the user selects which course to register you need to add that course to the list of selected courses for that user and then move back to the first screen with a restart intent so the list for the courses is updated.

for the next part where you are unable to convert editTextView into simple plain textView, you need to have to views at the same position and make them work such that at a time only one of them is visible and other is non-existent and also according to your flow you are able to switch between both of them. Such functioning can easily be achieved by using data-binding in xml.

Add a comment
Know the answer?
Add Answer to:
Using Android Studios. Scenario: You recently started working as the mobile app developer for a University...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Using AndroidStudio Create a mobile app UI that has the following labels and textboxes. Customer Name...

    Using AndroidStudio Create a mobile app UI that has the following labels and textboxes. Customer Name Customer ID Customer Address The mobile app UI should also contain a Submit button. The following validation should be executed as soon as user clicks the Submit button. Customer ID should be between 0-1000. If user enters any value above 1000, then you need to display an error message. Customer Name should not contain any numeric characters. If user enters customer name with numbers,...

  • Android Problem Using JAVA Problem: You need to create an app on Android Studios that allows...

    Android Problem Using JAVA Problem: You need to create an app on Android Studios that allows users to register and login into the system. The focus of this project is for you to create an app with several activities and has data validation. You should have for your app: A welcome screen (splash screen) with your app name and a picture. You should then move to a screen that asks the user for either to log in or to register....

  • This assignemnt for Android development using Java Weather Forecaster App Goal: Create an app to display...

    This assignemnt for Android development using Java Weather Forecaster App Goal: Create an app to display a weather forecast for the user’s current location Create the app titled Weather Forecaster The first screen will have a textbox for the user to enter a zip code and a button to submit When the user enters the zip code and clicks the button, the app will navigate to the weather forecast screen. The weather forecast screen will show the current weather for...

  • Please help! Visual Basic - Windows App Form .NET Framework. ​Option Explicit ON ​Option Strict ON...

    Please help! Visual Basic - Windows App Form .NET Framework. ​Option Explicit ON ​Option Strict ON ​Option Infer ON calculate Letter Grade Number grade: I Letter grade: Calculate Exxt Start a new Project named GradeConverter Add labels, textboxes, and button to the default form. Create an event handler for Calculate and Exit. . When the user enters a number- between 0.0 and 100.0 and clicks Calculate, the letter grade will display for the user The form should be able to...

  • Problem Statement You are to create a Visual Basic(VB) project for a census bureau to obtain...

    Problem Statement You are to create a Visual Basic(VB) project for a census bureau to obtain and analyze household income survey data within the Pittsburgh   area (including Morgantown Ky). Data Collected: Home identification code (4 alphanumeric characters) – required Program should generate it using a random number generator. You won’t use this anywhere it just need to be generated. Generate the first number in the Form Load event and then each subsequent number in the button click. See attached code...

  • Java Project In Brief... For this Java project, you will create a Java program for a...

    Java Project In Brief... For this Java project, you will create a Java program for a school. The purpose is to create a report containing one or more classrooms. For each classroom, the report will contain: I need a code that works, runs and the packages are working as well The room number of the classroom. The teacher and the subject assigned to the classroom. A list of students assigned to the classroom including their student id and final grade....

  • Java: student directory GUI You need to implement three classes: Person Student StudentDirectory StudentMain Start by...

    Java: student directory GUI You need to implement three classes: Person Student StudentDirectory StudentMain Start by implementing Person and Student classes. Once you are sure you can serialize and deserialize and ArrayList of Students to and from a file, move on to building the GUI application. Person: The Person class should implement serializable interface. It contains the following: Person's first name (String) Person's last name (String) Person's id number Person's date of birth (Date) public String toString(): This method method...

  • For milestone #1, we will start the CARIT site with three static HTML pages and a...

    For milestone #1, we will start the CARIT site with three static HTML pages and a CSS file. Create a dedicated folder for this project. This folder should contain all related files in this project. The future milestones are cumulative and built directly on top of your prior work. Function/content requirements: A home page named “index.html”, which include these contents at least: Description of the center. You may reference the example sites. Latest news: use list tags; make up some...

  • C Thank You for You x Home - OwNet x B Assignment 401 X CPP-A01 -...

    C Thank You for You x Home - OwNet x B Assignment 401 X CPP-A01 - Dynam x ASM-103 - Intege X ASM-A03 - Integex Calculus - Find voll x D (10) Disc method X + -ox + → C onedrive.live.com/view.aspx?resid-322690C11EFFEB37!1631&ithint-file%2cdocxêauthkey-!AOJByR3MAP202A Word Sign in OneDrive CPP-A01 - Dynamic Multiplication Table Accessibility Mode Download Save to OneDrive Print ... When completing this assignment, the student should demonstrate mastery of the following concepts: • Visual Studio Project Creation • C++ Formatted Output...

  • If you’re using Visual Studio Community 2015, as requested, the instructions below should be exact but...

    If you’re using Visual Studio Community 2015, as requested, the instructions below should be exact but minor discrepancies may require you to adjust. If you are attempting this assignment using another version of Visual Studio, you can expect differences in the look, feel, and/or step-by-step instructions below and you’ll have to determine the equivalent actions or operations for your version on your own. INTRODUCTION: In this assignment, you will develop some of the logic for, and then work with, the...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT