Sunteți pe pagina 1din 3

University of Moratuwa

Faculty of Information Technology,

Degree of Bachelor of Information Technology (BIT)

ITE 2152: Mobile Application Development

Take Home Assignment (Mini project) Submission Date: On or before deadline


_______________________________________________________________ ______

Develop an Android application (App Name: MADA_APP_<<Your Index Number>> ) including


following 5 tasks. Create your Android project with the Name “MADA _<<Your Index Number>>”

Task 1: User registration view [40 Marks]

Create a registration (sign up!) view as given in Figure 1. Save the data in an SQLite Database (within the same
device) with a single table.

 Database name : MADA_DB


 Table Name: User_Infor
 Columns : 6 [name, index_no, email, mobile, GPA, password]

User registration

Name:

Index no:

Email:

Mobile no:

Current GPA:

Password:

Re-enter Password:

Submit

Figure 1. User registration view 1


 Before submitting the form, all the text fields should be validated properly.
o All the text fields are required to be filled
o If one of them is empty then there should be an error message “Fields cannot be empty”
o Email, Mobile Number, and Index Number should be validated
 Email format validation
 Mobile Number should be validated for the number of digits of a phone number
 Index Number should be validated for your batch index number format

eg: “15<<Any four digits>><<Any English alphabetic character>>”

o Display an error message for incorrect formats


o Check whether the entered values for “Password” and “Re-enter Password” fields are the same, if
not display an error message
o A student can decide on the design of the error message display
 When all the fields are correctly validated, their values should be saved to the database, next go to the
“Login View”

Task 2: Login view [20 Marks]

After submitting data into the Database, Login view should be displayed to the user as given in Figure 2.

Login

Index No:

Password:

Login

Figure 2. Login view

 Colors and design of the Login view can be decided by the user,
 When the index number and the password are entered check whether the both are properly matched in the
value pairs in the database.
 If the entered pair is not matched with the pairs (Index No, Password) in the database display an error
message
 If the two values are matched display the user profile view

2
Task 3: User Profile view [10 Marks]

After the user is logged properly, User profile view should be displayed with all the values entered in Task 1. The
student can decide on the design of the User profile view. Also, add a button named “Email” at the bottom of the
view.

Task 4: Emailing the user details [10 Marks]

When the user clicks the “Email” button in the user profile view, all the user details displayed in this view should
be emailed to the following email address. Once the email is successfully sent with all the user details, a message
should be displayed “Successfully sent”

 Email address: shalinda@edu.lnbti.lk


 Email subject: “My contact details:<<Your Index Number : First Name Last Name>>”
 Hint to perform this task: call the email intent and use your own email address for testing purposes.

Task 5: Adding new functionalities [20 Marks]

Being creative and adding new functionalities to the application. Student can decide the functinality and its
usability including the user interface. The new functionality can be a single view or multiple views but mandatory
to develop it according to the context of Course Management System/Learning Platform.
Hint: To find new functionality refer to the Moodle.

Once all the five tasks are completed students should submit the complete Android project as a Zip file with the
name “<<Your Index Number>>.zip” into the Moodle.

Late submissions will not be entertained.

--------------------End of the Assignment--------------------

S-ar putea să vă placă și