Amir Project Report.pdf


Preview of PDF document amir-project-report.pdf

Page 1 23443

Text preview


Amir Shadaab Mohammed

MS Project Report

TABLE OF CONTENTS
Section 1: Acknowledgement ................................................................................................................................................ 4
Section 2: Introduction .......................................................................................................................................................... 5
Section 3: Application Requirements and Assumptions ........................................................................................................ 6
3.1 Stakeholders ................................................................................................................................................................ 6
3.2 Functional requirements ............................................................................................................................................. 7
3.3 Non-Functional requirements ..................................................................................................................................... 8
3.4 Assumptions ................................................................................................................................................................ 9
Section 4: Things to Know ................................................................................................................................................... 10
What are accelerometer and orientation sensors? ......................................................................................................... 10
What is an AsyncTask? .................................................................................................................................................... 10
What is an Activity? ......................................................................................................................................................... 11
What is an Intent? ........................................................................................................................................................... 11
Section 5: Application Design .............................................................................................................................................. 12
5.1 UI DESIGN .................................................................................................................................................................. 13
Workout Buddy View Fragment .................................................................................................................................. 13
Workout Buddy Activity .............................................................................................................................................. 14
Workout Buddy Activity (Media Player and toast messages) ..................................................................................... 15
Number of Vertigos Dialog Fragment .......................................................................................................................... 16
Workout log after Workout Buddy exercise ................................................................................................................ 17
New interface for Main Menu ..................................................................................................................................... 18
5.2 How to use the workout buddy module.................................................................................................................... 19
Section 6: Low Level Details ................................................................................................................................................ 24
6.1 Class diagram ............................................................................................................................................................. 24
6.2 Sequenence Diagram ................................................................................................................................................. 27
6.3 Audio instructions flowchart ..................................................................................................................................... 29
6.4 Sensors overview ....................................................................................................................................................... 30
Accelerometer Sensor ................................................................................................................................................. 31
Orientation Sensor ...................................................................................................................................................... 31
6.5 Calculating shoulder movements .............................................................................................................................. 33

Page 2 of 43