Android Question B4A assignment

Status
Not open for further replies.

Es Tee

New Member
CIN635 – Mobile Computing Semester 2 – 2022 Assignment 1 (10%)
Due Date: 16th October, 2021 @ 11.55PM
You are required to create a mobile app that acts as a personal health inspector which assists the mobile phone user to identify if he/she has any risk factors which can lead to NCD’s.
In Fiji, one of the major risks to our population is the rising crisis of non-communicable diseases (NCD’s). An NCD is not a disease passed from person to person, but develops in your body due to different causes. There are four main types:
 Cardiovascular Disease (Heart disease such as heart attacks and stroke)
 Cancers
 Respiratory Disease (Lung disease such as Asthma and COPD)
 Diabetics
NCD’s are caused by unhealthy life styles habits such as
 Tobacco use – smoking puts you at higher risk
 Physical Inactivity – lack of exercise
 Unhealthy diet – high in salt, sugar, fat and processed foods
 Alcohol – drinking too much puts you at higher risk
These unhealthy life styles habits leads to four key changes in your body that increases your risk of NCD’s, these are known as ‘intermediate risk factors’;
 raised blood pressure
 being overweight or obese
 high sugar levels (Hyperglycemia)
 high blood cholesterol/ levels of fat in blood (Hyperlipidemia)
Source: http://www.health.gov.fj/
The App should have the following features:
1. A home page (5 marks)
The three buttons represent three options which the user can perform: the description of each option is given below.
You are required to design of the UI for each option – you can also redesign the main interface to blend it in to your UI design theme.
1|Page

2. Body Mass Index (10 marks)
BMI is a calculation that uses your height and weight to estimate how much body fat you have. Having a high BMI can increase your risk for health problems, such as heart disease, high blood pressure, type 2 diabetes, and cancer.
How is BMI interpreted for adults?
For adults 20 years old and older, BMI is interpreted using standard weight status categories. These categories are the same for men and women of all body types and ages.
BMI Weight Status
Below 18.5
Underweight
18.5 – 24.9 Healthy Weight
30.0 and Above Obesity
How do you measure BMI?
Given below is the equation used for calculating BMI:
3. Blood Pressure (10 marks)
This BMI app option requires an individual's height and weight to calculate the BMI (using the formula given above). It then compares the BMI with the BMI table above and generates and displays the weight status.
25.0 – 29.9
Overweight
Blood pressure (BP) is the pressure of circulating blood on the walls of blood vessels. The top number is your systolic blood pressure (The highest pressure when your heart beats and pushes the blood round your body). The bottom one is your diastolic blood pressure (The lowest pressure when your heart relaxes between beats).
The blood pressure chart below shows ranges of high, low and healthy blood pressure categories.
The blood pressure app option requires two values, the systolic and diastolic readings from the user and uses this information and the chart above to find and display the BP category of the user.
2|Page

4. Sugar Level (10 marks)
Blood sugar levels are literally the amount of glucose in the blood. Usually, this amount is expressed as milli-moles per liter (mmol/L) and stays stable amongst people without diabetes at around 4 – 8 mmol/L. High levels of glucose present in the blood over a sustained period of time end up damaging the blood vessels.
The following table lays out criteria for diagnoses of diabetes and prediabetes.
The sugar level option requires two values,
5. Features (15 marks)
 App logo and use of clear images where necessary
 Splash screen on app start
 Input formatting and input validation to avoid input errors
 Toast message for warnings/notifications where necessary
 Good quality design (aesthetics) and coding structure
Instructions
Develop a fully functional mobile application as per the instruction above using B4a. Carefully test all functionality before submission. You are to work in groups of 2.
Project Submission & Demo: You are required to submit the whole project folder. You will have a Q&A session with your instructor where you will demonstrate your app and answer any questions.
Partial marks: Even if your program doesn’t work perfectly, you’ll receive marks for each part you get to work. E.g. if your program but gives incorrect results, you can still receive a passing mark provided that your code is well-written.
Backup: Make regular backups of your assignment to avoid disappointments.
Submitting late: Start EARLY. Also when you finish don’t hold on to your assignment till the last moment. Submit as soon as you are satisfied with it. If you think you will not be able to submit the assignment on time due to unwarranted circumstances, then you will need to seek approval from the course lecturer prior to the due date to avoid deduction of marks.
Plagiarism: It is important that you avoid plagiarism. It’s not plagiarism to discuss the assignment with your friends and consider solutions to the problems together. However, it is plagiarism for you to copy all
the glucose amount and whether a person is fasting or has had a meal prior to the test. The program uses this information and the chart above to determine and display the user’s diabetic diagnosis.
3|Page

or part of each other’s’ programs.
Even if your program doesn’t work perfectly, avoid the urge to copy someone else’s. We’ll give some marks if it’s obvious you have worked hard on your own. If you find somebody has stolen your assignment and produced it as their work, it will be considered plagiarism. Both of parties be will penalize regardless of who the culprit is. So it’s your responsibility to see that no one copies your assignment.
4|Page
 

emexes

Expert
Licensed User
CIN635 – Mobile Computing Semester 2 – 2022 Assignment 1 (10%)
Due Date: 16th October, 2021 @ 11.55PM

Two lines in and already you need a time machine. ?

TARDIS.jpg
 
Upvote 0

mcqueccu

Well-Known Member
Licensed User
Longtime User
I wonder what the purpose of this thread is, I can't seem to find any questions to the forum in the wall of text.
I think its his school assignment using B4A. He is to build an app with the features listed above.

Its good to know they are learning B4X in school. @Es Tee You can start a conversation with me let me see how best i can help you
 
Upvote 1
Status
Not open for further replies.
Top