Question
Create an android mobile app with the following functionality: 1. Create a database 2. Create your application Make sure the application can connect to the
Create an android mobile app with the following functionality:
1. Create a database
2. Create your application
Make sure the application can connect to the database
AKA, create a register and signin form (this will show that you are putting things into the database)
3. Once you have a user create profile, and they have signed in. Create a preferences page.
Make sure they have the following:
* Radio Button to choose their sex (Female = on, Male = Off)
* Input field for height(limited to double.)
* Input field for weight(limited to double.)
* Input field for steps(limited to integer. Set it to a range about 1 and between x. x being whatever limit you set)
Once you have created this form i would make sure that when the user submits this information, it is correctly inserted into you database, for the right user.
4. Caluclations
Create a user profile page.
On this page is where the calculations will be shown.
Create a page action that on page load the application pulls the user information from the database.
**** Assuming the wearable has this information ****
1. Current_weight = Database_weight - wearable_weight_reading
2. Steps_remaining = Database_set_steps - wearable_steps_reading
3. Workout_time = wearable_recorded_workout_time
Thats all I would have on the profile page.
So putting it all together, have the app open up to a welcome page. On that page prompt the user to either signup or logon.
Signup inserts information to database, login pulls information from database.
If the user logs on, check to see if they have database data for required fields.
if no, show preferences page
if yes, show profile page
PROVIDE XML & JAVA CODE!
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