Presentation is loading. Please wait.

Presentation is loading. Please wait.

Walk n’ Play Group #8 - Team Murali Krishna Goli Viswanath Patimalla

Similar presentations


Presentation on theme: "Walk n’ Play Group #8 - Team Murali Krishna Goli Viswanath Patimalla"— Presentation transcript:

1 Walk n’ Play Group #8 - Team Murali Krishna Goli Viswanath Patimalla
Walk n' Play Spring CSCI6338 Walk n’ Play Group #8 - Team Murali Krishna Goli Viswanath Patimalla Sivarama Krishna Polamraju

2 Instructor: Dr. Said Bettayeb
Walk n' Play Spring CSCI6338 Instructor: Dr. Said Bettayeb Mentor : Dr. Pradeep Buddharaju

3 Agenda Android Motivation Introduction Features How it Works
Walk n' Play Spring CSCI6338 Android Motivation Introduction Features How it Works Software & Hardware Requirements Technical Details Demo Conclusion

4 Android Open software platform for mobile development.
Walk n' Play Spring CSCI6338 Open software platform for mobile development. Developed by Google. A complete stack – OS, Middleware, Applications. An Open Handset Alliance (OHA) project. Fast application development in Java. Open source under the Apache 2 license.

5 Why Android..? Budget. Hardware choice. Usability.
Walk n' Play Spring CSCI6338 Budget. Hardware choice. Usability. Customizable home screen. User base. No License fee.

6 Motivation Smart Phones. Millions of mobile users. Health awareness.
Walk n' Play Spring CSCI6338 Smart Phones. Internet access anywhere. Social networking. GPS and Google Maps. Millions of mobile users. Health awareness.

7 Note: Physical Activities had some conditions.
Introduction Walk n' Play Spring CSCI6338 Walk n’ Play is a mobile application built for all devices having Android operating system and Accelerometer sensor. This application provides accurate calories count that burnt against the physical activity based on cutting edge calorie calculation technology, which uses the accelerometer in the device. Note: Physical Activities had some conditions.

8 Features Tracking amount of calories burnt.
Walk n' Play Spring CSCI6338 Tracking amount of calories burnt. Compete with the intelligent simulator. Play walking game. Avatars. Comparing performance with other users. Options. Swarm Leaderboard. Power saver mode.

9 How it Works Installing the App. Registration. Start Using.
Walk n' Play Spring CSCI6338 Installing the App. Registration. Start Using.

10 How it Works Name. Weight. Gender. Position of the device on the body.
Walk n' Play Spring CSCI6338 Name. Weight. Gender. Position of the device on the body.

11 How it Works Walk n' Play Spring CSCI6338 flow diagram

12 Algorithm Walk n' Play Spring CSCI6338 University of Houston Main Campus Researchers from Computational Physiology Lab developed this algorithm. Using this algorithm, we calculated an equation which turns the accelerometer readings into calorie count.

13 Software Requirements
Walk n' Play Spring CSCI6338 Android SDK. Eclipse IDE. ADT Plugin. Leaderboard API. Android Emulator.

14 Hardware Requirements
Walk n' Play Spring CSCI6338 Any smart phone with Android OS and internet connection.

15 Activity Lifecycle Activity Launched onCreate() onStart() onRestart()
Walk n' Play Spring CSCI6338 Activity Launched onCreate() onStart() onRestart() onResume() App process killed Activity Running onPause() onStop() onDestroy() Activity shutdown Fig:2 Activity Life Cycle

16 Accelerometer Sensors Changes in x axis Changes in y axis
Walk n' Play Spring CSCI6338 Sensors TYPE_ACCELEROMETER TYPE_MAGNETIC_FIELD TYPE_GRAVITY getDefaultSensor() TYPE_LINEAR_ACCELERATION TYPE_PROXIMITY registerListener() TYPE_AMBIENT_TEMPERATURE TYPE_RELATIVE_HUMIDITY onSensorChanged() TYPE_GYROSCOPE TYPE_ORIENTATION Changes in x axis Changes in y axis Changes in z axis TYPE_ROATATION_VECTOR TYPE_PRESSURE Fig:3 Accelerometer Working Sequence

17 Algorithm yes no Calculate tmp by using Accelerometer Energy
T<10sec Walk n' Play Spring CSCI6338 yes no Collect twenty x, y ,z coordinates values of the accelerometer for every 50ms Calculate tmp by using Accelerometer Energy Calculate Accelerometer Energy yes tmp<0 no kcal=0 No calories burnt Calculate kcal Display calories burnt Fig:4 Algorithm Sequence

18 Swarm Leaderboard API Leaderboard?
Walk n' Play Spring CSCI6338 Leaderboard? Leaderboard keeps tracks of the scores of users of the application. Why only Swarm API? Easy to integrate! No confusion. Ease of use for the general user. Excellent support provided for the developer. Displays scores day, week, month wise.

19 Shared Preferences Shared Preferences?
Walk n' Play Spring CSCI6338 Shared Preferences? Provides general framework to save and retrieve data. Primitive data such as float, booleans, int, longs and strings. Create shared preference object Create editor object Store data and commit object onPause() onResume() Access the shared preference object Access the editor object Retrieve stored data Fig:5 Shared Preferences Sequence

20 Services Walk n' Play Spring CSCI6338 Services? A service is an application which performs long running operations in the background. Start a service by calling startService() onPause() onResume() Stop a service by calling stopService() Retrieve the calorie values using shared preference Fig:6 Services Working Sequence

21 Services onPause() onResume() onPause() onResume()
Walk n' Play Spring CSCI6338 Start a service by calling startService() onPause() onResume() onPause() onResume() Stop a service by calling stopService() Retrieve the calorie values using shared preference Fig7(a)Without Power Saver Fig7(b)With Power Saver

22 Walk n' Play Spring CSCI6338

23 Conclusion Very simple to install and use. Easy registration process.
Walk n' Play Spring CSCI6338 Very simple to install and use. Easy registration process. Accurate calorie count. Compare the calorie count. Being designed in the way that it utilizes the device resources efficiently.

24 Future Work Multi device operability by using Cloud to save data.
Walk n' Play Spring CSCI6338 Multi device operability by using Cloud to save data.

25 References http://developer.android.com
Walk n' Play Spring CSCI6338 Private Communication

26 Walk n' Play Spring CSCI6338 Queries..?

27 Walk n' Play Spring CSCI6338 Thank You


Download ppt "Walk n’ Play Group #8 - Team Murali Krishna Goli Viswanath Patimalla"

Similar presentations


Ads by Google