Mobile Application (Android Studio)

please answer the attached file. full answers required with screenshot

Save Time On Research and Writing
Hire a Pro to Write You a 100% Plagiarism-Free Paper.
Get My Paper

College of Computing and Informatics
Instructions:
• You must submit two separate copies (one Word file and one PDF file) using the Assignment Template on
Blackboard via the allocated folder. These files must not be in compressed format.
• It is your responsibility to check and make sure that you have uploaded both the correct files.
• Zero mark will be given if you try to bypass the SafeAssign (e.g. misspell words, remove spaces between
words, hide characters, use different character sets, convert text into image or languages other than English
or any kind of manipulation).
• Email submission will not be accepted.
• You are advised to make your work clear and well-presented. This includes filling your information on the cover
page.
• You must use this template, failing which will result in zero mark.
• You MUST show all your work, and text must not be converted into an image, unless specified otherwise by
the question.
• Late submission will result in ZERO mark.
• The work should be your own, copying from students or other resources will result in ZERO mark.
• Use Times New Roman font for all your answers.
Question One
Pg. 01
Learning
Outcome(s):
Design
application
interfaces for
Question One
3 Marks
Based on the screenshot below, create an Android application to display a contact list
using RecyclerView. The application includes a set of Java files. The details of the java
files you need to create are described below.
mobile devices
using appropriate
software.
1. The first Java file should contain a data field in this case: Person_name,
Phone_number.
2. The second java file contains ContactViewHolder.
3. The third java file contains the ContactAdapter.
4. The MainActivity java file will contain some sample data to display.
HINT: Include the screenshot(s) of your App running output as a part of your answer.
In addition, copy and paste the code into this file. Otherwise, you will be marked zero
for this question.
ANSWER:
Question Two
Pg. 02
Learning
Outcome(s):
Design
application
Question Two
2 Marks
Based on the screenshot below, create an Android application to calculate GPA on a
4.0 Scale.
mobile devices
1. The first activity is to enter your name and your grades for each course. By
clicking the “GPA” button, GPA will be calculated and passed with your name to
the second activity.
using appropriate
2. The second activity will display your name and your GPA.
interfaces for
software.
First Activity
Second Activity
HINT: Include the screenshot(s) of your App running output as a part of your answer.
In addition, copy and paste the code into this file. Otherwise, you will be marked zero
for this question.
ANSWER:
Question Three
Pg. 03
Learning
Outcome(s):
Design
application
interfaces for
mobile devices
using appropriate
software.
Question Three
What is the output of the following React app?
// React app
import React from “react”;
import { render } from “react-dom”;
import MyComponent from “./MyComponent.js”;
import Mylist from “./Mylist.js”;
const text= ‘Thank you ‘;
render(
{text}
,
document.getElementById(“root”)
);
// MyComponent.js
import React , { Component, Fragment } from “react”;
import { render } from “react-dom”;
export default class MyComponent extends Component {
render() {
return(
Grocery List
{this.props.children}
);
}}
// Mylist.js
import React , { Component, Fragment } from “react”;
import { render } from “react-dom”;
export default class Mylist extends Component {
render() {
return(
apple
bread
1 Mark
Question Three
Pg. 04
milk
eggs
);
}}
ANSWER:
Question Four
Pg. 05
Learning
Outcome(s):
Question Four
2 Marks
Based on the screenshot below, create a react application to track how many times a
Design
button is clicked and display the number. The number must increment each time the
application
button is clicked.
interfaces for
Examples:
mobile devices
using appropriate
software.
1. Implement the constructor method to set up the initial state.
2. Implement the CountIncrement method to update the value of the count
variable by using setState().
3. In the render method, return two elements and .
HINT: Include the screenshot(s) of your App running output as a part of your answer.
In addition, copy and paste the code into this file. Otherwise, you will be marked zero
for this question.
ANSWER:

Still stressed with your coursework?
Get quality coursework help from an expert!