Technology: Level 2
M299 Mobile computing
Arab Open University
M299
______________________________________________________________________________
Tutor-marked Assignment
______________________________________________________________________________
Contents Cut-off dateJuly28, 2018
M299, TMA Summer2018
______________________________________________________________________________
Total Marks: 100
Contents
Question 1 (45 marks)……………………………………………………2
Question 2 (55 marks)……………………………………………………3
The content of this TMA has been adopted from the home works of the course CS 193A: Android App Development
Winter 2015 at Stanford Engineering.
Plagiarism Warning:
As per AOU rules and regulations, all students are required to submit their own TMA work and avoid plagiarism. The AOU has implemented sophisticated techniques for plagiarism detection. You must provide all references in case you use and quote another person's work in your TMA. You will be penalized for any act of plagiarism as per the AOU's rules and regulations.
Declaration of No Plagiarism by Student (to be signed and submitted by student with TMA work):
I hereby declare that this submitted TMA work is a result of my own efforts and I have not plagiarized any other person's work. I have provided all references of information that I have used and quoted in my TMA work.
Name of Student:………………………………..
Signature:…………………………………………...
Date:……………………………………………………
Question 1 (45%)
Assignment description
You should be able to start solving this TMA part after studying week 4. We expect you to practice developing an app composed of multiple activities having different layouts. You should be able to develop an app that allows the user to navigate between different activities.
It is up to you to decide what the app should do, but we will grade it based on the technologies used. We expect an app having at least the following features:
1- Two activities. [5 marks]
2- Each activity should at least contain two widgets (such as Buttons, EditText, etc...). [5 marks]
3- Each activity should have at least one event handler that responds to a user event. [10 marks]
4- The user should be able to move from one activity to another using Intent.[6 marks]
5- The calling activity should pass at least one key/value pair to the called activity.[6 marks]
6- If the app is interesting and makes sense, five (5) marks will be allocated. If it’s a simple and trivial idea no marks will be allocated.[5 marks]
Five (5) marks will be allocated if the project behaves correctly as stated in the README.txt file.
Alongwithyourapp,pleasecreateafilenamedREADME.txtthatcontainsyournameandemailaddress along with the name of your app and a brief description of what the app can do, along with any special instructions that the user might need to know in order to use it properly (if there are any). [3 marks]
Question 2 (55%)
You should be able to start solving this TMA part after studying week 8. We expect you to practice developing an app composed of at least one activity and one service component.
It is up to you to decide what the app should do, but we will grade it based on the technologies used. We expect an app having at least the following features:
1- Oneactivity.[5 marks]
2- One service.[5marks]
3- The activity should contain at least three widgets (such as Buttons, EditText, etc...).[10 marks]
4- Based on user events (within an Activity), data (entered by the user) should be saved in a shared preference file.[10 marks]
5- The activity should start a service and pass at least one key/value pair.[10 marks]
6- The service should send back at least a key-value pair value to the calling activity (retrieved form a Shared preference file), andthis using a broadcast.[10 marks]
7- If the app is interesting and makes sense, marks will be allocated. If it’s a simple and trivial idea no marks will be allocated.[5 marks]
Along with your app, please create a file named README. txt that contains your name and email address along with the name of your app and a brief description of what the app dot, along with any special instructions that the user might need to know in order to use it properly (if there are any). [5 marks]
README. Txt file content example:
Sami Student <jstudent@aou.edu.lb>
NumberGame 2.05 - This app shows two numbers on the screen and asks
the user to pick the larger number.
How to structure the submitted files for the three questions?
Delete the content of the subfolder app/build/intermediates or any other intermediate folder in your project, this will reduce dramatically the size of your project.
Create a folder and call it “M299_YourID_BranchName_S2018”, inside this folder create a folder for each questions and call it question (replace X with 1 for question1 and 2 for question2) and put eachapp project in the corresponding folder.
Zip the folder “m299_YourID_BranchName_S2018”and submit it as single file. [2 marks]
Links
Below there are useful links about this course material and about computer science.
Books:
If you feel like buying additional book to learn more about Android, here are two that we recommend:
• Android Programming: The Big Nerd Ranch Guide, by Bill Phillips and Brian Hardy
• Professional Android Application Development, by Reto Meier
Android:
• Genymotion, a faster Android emulator
• Google Android Developer Docs
• Android API Reference
• Google Android Developer Docs: Installing Android Studio
• Google Android Developer Docs: UI Design
• anddev.org - Android Development Forum
• Android Developers Blog - Blogspot
• Mobiforge - Android Design and Development
• DroidDraw (draw an Android UI in your web browser)
• DroidDraw - Visual Index to the Android Widgets
• ThinkAndroid - How to Position Views Properly in Layouts
Java Programming:
• Oracle's Java documentation
• CS 106A Style Guide (guidelines for coding style and design that we want you to follow on your homework)
• Official Oracle Java coding conventions
• Google's Java style guide
• CS 193A Style Guide (guidelines for coding style and design that we want you to follow on your homework)
Current Events and News:
• (2015-02-22) Android Development News (a collection of links and current events about Android development)
• (2015-02-09) Creating Android Apps with Groovy (a new programming ******** that is an offshoot of Java)
• (2015-01-28) Ars Technica: Signs of progress: One month with Android Wear 5.0 (a review of Android watches)
• (2015-01-17) Ars Technica: Google won’t fix bug hitting 60 percent of Android phones
• (2015-01-12) WSJ Blog: Google decides to stop fixing security bugs in Android 4.3 web browser
• (2015-01-08) ZDNet: Android Lollipop is out, but almost no one is using it
• (2015-01-01) Reddit /r/android - links and news about Android
M299 Mobile computing
Arab Open University
M299
______________________________________________________________________________
Tutor-marked Assignment
______________________________________________________________________________
Contents Cut-off dateJuly28, 2018
M299, TMA Summer2018
______________________________________________________________________________
Total Marks: 100
Contents
Question 1 (45 marks)……………………………………………………2
Question 2 (55 marks)……………………………………………………3
The content of this TMA has been adopted from the home works of the course CS 193A: Android App Development
Winter 2015 at Stanford Engineering.
Plagiarism Warning:
As per AOU rules and regulations, all students are required to submit their own TMA work and avoid plagiarism. The AOU has implemented sophisticated techniques for plagiarism detection. You must provide all references in case you use and quote another person's work in your TMA. You will be penalized for any act of plagiarism as per the AOU's rules and regulations.
Declaration of No Plagiarism by Student (to be signed and submitted by student with TMA work):
I hereby declare that this submitted TMA work is a result of my own efforts and I have not plagiarized any other person's work. I have provided all references of information that I have used and quoted in my TMA work.
Name of Student:………………………………..
Signature:…………………………………………...
Date:……………………………………………………
Question 1 (45%)
Assignment description
You should be able to start solving this TMA part after studying week 4. We expect you to practice developing an app composed of multiple activities having different layouts. You should be able to develop an app that allows the user to navigate between different activities.
It is up to you to decide what the app should do, but we will grade it based on the technologies used. We expect an app having at least the following features:
1- Two activities. [5 marks]
2- Each activity should at least contain two widgets (such as Buttons, EditText, etc...). [5 marks]
3- Each activity should have at least one event handler that responds to a user event. [10 marks]
4- The user should be able to move from one activity to another using Intent.[6 marks]
5- The calling activity should pass at least one key/value pair to the called activity.[6 marks]
6- If the app is interesting and makes sense, five (5) marks will be allocated. If it’s a simple and trivial idea no marks will be allocated.[5 marks]
Five (5) marks will be allocated if the project behaves correctly as stated in the README.txt file.
Alongwithyourapp,pleasecreateafilenamedREADME.txtthatcontainsyournameandemailaddress along with the name of your app and a brief description of what the app can do, along with any special instructions that the user might need to know in order to use it properly (if there are any). [3 marks]
Question 2 (55%)
You should be able to start solving this TMA part after studying week 8. We expect you to practice developing an app composed of at least one activity and one service component.
It is up to you to decide what the app should do, but we will grade it based on the technologies used. We expect an app having at least the following features:
1- Oneactivity.[5 marks]
2- One service.[5marks]
3- The activity should contain at least three widgets (such as Buttons, EditText, etc...).[10 marks]
4- Based on user events (within an Activity), data (entered by the user) should be saved in a shared preference file.[10 marks]
5- The activity should start a service and pass at least one key/value pair.[10 marks]
6- The service should send back at least a key-value pair value to the calling activity (retrieved form a Shared preference file), andthis using a broadcast.[10 marks]
7- If the app is interesting and makes sense, marks will be allocated. If it’s a simple and trivial idea no marks will be allocated.[5 marks]
Along with your app, please create a file named README. txt that contains your name and email address along with the name of your app and a brief description of what the app dot, along with any special instructions that the user might need to know in order to use it properly (if there are any). [5 marks]
README. Txt file content example:
Sami Student <jstudent@aou.edu.lb>
NumberGame 2.05 - This app shows two numbers on the screen and asks
the user to pick the larger number.
How to structure the submitted files for the three questions?
Delete the content of the subfolder app/build/intermediates or any other intermediate folder in your project, this will reduce dramatically the size of your project.
Create a folder and call it “M299_YourID_BranchName_S2018”, inside this folder create a folder for each questions and call it question (replace X with 1 for question1 and 2 for question2) and put eachapp project in the corresponding folder.
Zip the folder “m299_YourID_BranchName_S2018”and submit it as single file. [2 marks]
Links
Below there are useful links about this course material and about computer science.
Books:
If you feel like buying additional book to learn more about Android, here are two that we recommend:
• Android Programming: The Big Nerd Ranch Guide, by Bill Phillips and Brian Hardy
• Professional Android Application Development, by Reto Meier
Android:
• Genymotion, a faster Android emulator
• Google Android Developer Docs
• Android API Reference
• Google Android Developer Docs: Installing Android Studio
• Google Android Developer Docs: UI Design
• anddev.org - Android Development Forum
• Android Developers Blog - Blogspot
• Mobiforge - Android Design and Development
• DroidDraw (draw an Android UI in your web browser)
• DroidDraw - Visual Index to the Android Widgets
• ThinkAndroid - How to Position Views Properly in Layouts
Java Programming:
• Oracle's Java documentation
• CS 106A Style Guide (guidelines for coding style and design that we want you to follow on your homework)
• Official Oracle Java coding conventions
• Google's Java style guide
• CS 193A Style Guide (guidelines for coding style and design that we want you to follow on your homework)
Current Events and News:
• (2015-02-22) Android Development News (a collection of links and current events about Android development)
• (2015-02-09) Creating Android Apps with Groovy (a new programming ******** that is an offshoot of Java)
• (2015-01-28) Ars Technica: Signs of progress: One month with Android Wear 5.0 (a review of Android watches)
• (2015-01-17) Ars Technica: Google won’t fix bug hitting 60 percent of Android phones
• (2015-01-12) WSJ Blog: Google decides to stop fixing security bugs in Android 4.3 web browser
• (2015-01-08) ZDNet: Android Lollipop is out, but almost no one is using it
• (2015-01-01) Reddit /r/android - links and news about Android