Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

hi, i need this help in android studio please explain step by step Instructions: Create an Android application to collect a users name, email, program,

hi, i need this help in android studio please explain step by step

Instructions: Create an Android application to collect a users name, email, program, a password, and a password confirmation on its main activity. It should also contain a Save button. When the user clicks the Save button, it will display a message containing the users name, welcoming them to the app. e.g. Welcome, Jayne Dough, to the SignUpForm App As always, please ensure that your application has a proper Git commit trail that shows your progress throughout the development process. It is not sufficient to only have a single commit with all your code at the end of the project, and you may be penalized if that is the case. 1. Clone the Assignment 2 project from GitHub 2. Use appropriate views to create a regular sign up form (similar to what you might see in an app or website when you create an account) that will collect the information detailed above. 1. Use an appropriate text field for each element (e.g. to accept an email address, simply use an EditText view with the inputType attribute set to textEmailAddress. 2. For each EditText, you should set the hint attribute to indicate to the user what value should be entered there. This can be done in the XML layout file, or in code. 3. For the program field, use a Spinner view. The items displayed in the list are: Information Science Computer Science Math and CS Data Science Other The first item in the Spinner should be an instruction to the user to select an item, such as: Please select your program 4. When the user enters all information and clicks the save button, your application should validate the input by doing the following: 1. Make sure that all fields have data entered 1. If any field is empty display an Error Message for each field to tell the user they must enter that information 2. Ensure that the user has selected at least one item for program other than the instruction. If they havent done so, display an error. 2. Compare the password and password confirmation to make sure they match. If they dont match, display an Error Message telling the user to fix this error All error messages for EditText fields must be displayed using the error attribute of the associated EditText (use the setError(CharSequence) function: https://developer.android.com/reference/kotlin/android/widget/TextView#setError(kotlin.Ch arSequence ) ) When displaying an error message for the Spinner, you can display a Toast (https://developer.android.com/guide/topics/ui/notifiers/toasts) or some other method of showing an error message (for example: you could set the error attribute of the Instruction TextView inside the spinner). 5. If all fields are complete and the passwords match, display the users name inside a welcome message using a TextView at the top of the activity/form. 6. Push your Project to GitHub and post the repository URL to Canvas. Ensure your application has a reasonable Git Commit trail (no fewer than 5 commits, but you can have as many as youd prefer). 7. Add a README.md (https://help.github.com/en/articles/about-readmes) file to your GitHub project that details the function of your application. Include a screenshot of the application in your readme. You can retrieve a screenshot using the Android emulator.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Reliability Engineering Designing And Operating Resilient Database Systems

Authors: Laine Campbell, Charity Majors

1st Edition

978-1491925942

More Books

Students also viewed these Databases questions