You are on page 1of 8

College of Computing and Informatics

Mobile Application Development


IT448

Assignment 1
Deadline: Sunday 26/02/2021 @ 23:59
[Total Mark for this Assignment is 8]

Student Details:
Name: ### ID: ###

CRN: ###

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.
Pg. 1 Question FourQuestion Four

Learning 2 Marks
Outcome(s): Question One
Instructors: Android Studio displays your project files with a set of folders. One of these
Describe folders is the manifest folder which contains the project’s AndroidManifest.xml
technologies that file. Discuss the AndroidManifest.xml file in terms of.
enable the
development of 1. Why does the project need this file?
2. What are the tasks performed by this file?
applications for
mobile devices. Answer
Pg. 2 Question FourQuestion Four

2 Marks
Learning
Outcome(s): Question Two
Instructors: Write an XML file for the following project’s screenshot. The project will display
Design one image, one text and one button.
application  The first element is an image. You must add any other image with a
interfaces for similar dimension and place.
mobile devices  The second element is text. You must write your name in place of “XYZ”
using appropriate with the same color.
software.  The third element is a button. Write on the button ”PRESS ME”.
 The project’s layout structure is ConstraintLayout.

HINT: Include the screenshot of the layout’s output, after you run the app, as
a part of your answer. Otherwise, you will be marked zero for this question.
Pg. 3 Question FourQuestion Four

Answer
Pg. 4 Question FourQuestion Four

2 Marks
Learning
Outcome(s): Question Three
Instructors: XML is used to describe the layout of an App. ScrollView element has many
Design different properties to configure their appearance and behavior.
application In this Question, you need to:
interfaces for 1. Design only an XML file and show any city description using the
mobile devices ScrollView element.
using appropriate 2. You need also to use any two TextView elements and one ImageView
software.
element.
The following screenshot is an example of the required app. Write an XML file
to design the app as stated above. You can use any layout structure to build
the app.

HINT: Include the screenshot of the layout’s output, after you run the app, as
a part of your answer. Otherwise, you will be marked zero for this question.
Pg. 5 Question FourQuestion Four

ImageView

TextView

TextView

Answer
Pg. 6 Question FourQuestion Four

2 Marks
Learning
Outcome(s): Question Four
Instructors: Write the XML file and the code of the MainActivity.java of an android app to
Design display lifecycle of android app.
application 1. For XML file, you must use one TextView to display message “I am XYZ”
interfaces for and in place of XYZ you must write your name.
mobile devices
2. In the MainActivity.java file, override onCreate method to display Toast
using appropriate
message “onCreate by XYZ” and in place of XYZ, in TextView, the app
software.
must write your name as well. Similarly, coding all other app lifecycle’s
methods; onStop, onStart, onPause, OnResume, On Restart, onDestroy

The Following Screenshot shows a sample of how the app may looks like.

HINT: Include the screenshot of the layout’s output for each state/phase of
your app, after you run the app, as a part of your answer. Otherwise, you will
be marked zero for this question.
Pg. 7 Question FourQuestion Four

Answer

You might also like