Answered step by step
Verified Expert Solution
Question
1 Approved Answer
How do I move the data from PlainTextSubject1 in Activity 2 to TextViewSubject1 in Main Activity? Scenario: You recently started working as the mobile app
How do I move the data from PlainTextSubject1 in Activity 2 to TextViewSubject1 in Main Activity?
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
- Labels for subject1, subject2, and subject3
- Textboxes for subject1, subject2, and subject3
- Labels for MaxGrade, MinGrade, and Avg.Grade
- Submit button
- Once user clicks submit button, you need to display letter grade in a label
Screen 2
- Screen that allows students to register for the course
- Once student register for the course, then the first screen should be updated dynamically with subjectnumber
- 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.
- Subject1, Subject2, Subject3 and any dynamic generated subjects values should be less than 100
- Subject1, Subject2, Subject3 and any dynamic generated subjects are required fields
- 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.
- Create the android studio project
- Use Android studio layout editor
- Add textboxes and labels
- Add Button in the UI
- Create the required field validation for Subject1, Subject2, and Subject3 text boxes
- Create the validation to ensure Subject1, Subject2 and Subject3 textbox values should be numeric only and less than 100
- Run the entire project and validate the output screen
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started