Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Exercise Tracker for Android in Kotlin An exercise tracking application that will sample user movement via sensors. An application that will record information and show

Exercise Tracker for Android in Kotlin

An exercise tracking application that will sample user movement via sensors.

  1. An application that will record information and show analysis regarding a users walking/running trail. Your application should have the ability to record the GPS points corresponding to the user's location. It should take a GPS point every 5 seconds. All GPS points should and stored in a GPX file (XML-based file format) When the user finishes recording the trail, the GPX files should be stored in external storage (accessible to anyone) and some information should be displayed to the user about the journey they have just made. It is expected that you display the Average speed, Total distance, Time taken, Minimum and maximum altitude, A graph of the users speed during the trail/journey (Custom control).
  2. These statistics should be shown in a separate activity. The graph should be shown in a custom view. The custom view can be display only and does not need to be reactive to touch. All activities should be implemented with standard UI elements that are available with the standard SDK. Do not use any additional libraries. In summary, your application will be built around two activities: 1. To start and stop the exercise tracker To report on what was recorded The layout and design are entirely up to you however you will be required to justify the design and layout of your UI and CustomView. This will be required in the documentation you will provide. You will also be tasked with implementing additional feature(s) of your choosing.
  3. The following components should be implemented with the following high-level features: 1. MainActivity: o Display some suitable controls to a. Start and stop the tracker b. Explain how it works 2. ReportActivity: o Display suitable controls to a. Report on metrics which have been recorded b. Graph the metrics which have been recorded.

a) Generate the shell of an application consisting of two activities. The second activity should only be triggered when recording is stopped. b) Add support for starting and stopping the recording of GPS points. When a new recording is started, a GPX file should be started (filename is current date and time, GPX file must be in external/shared storage in a directory called GPStracks) and GPS points should be written to it as each GPS point is received. When recording stops close the file and moves to the next activity. c) In the second activity, generate the statistics for average speed, total distance, time taken, and minimum and maximum altitude. These should then be displayed. d) Add in a custom view to the second activity that will represent a graph of the speed over the entire journey. You may assume that for the Y-axis, speed will only be between 0 and 10 Km/h. For conversion purposes, you may assume that 1 m/s is equal to 3.6 Km/h. e) Add a custom feature of your choosing. The relevance, usefulness, and quality of implementation will be taken into account for grading

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Microsoft SQL Server 2012 Unleashed

Authors: Ray Rankins, Paul Bertucci

1st Edition

0133408507, 9780133408508

Students also viewed these Databases questions

Question

State the uses of job description.

Answered: 1 week ago

Question

Explain in detail the different methods of performance appraisal .

Answered: 1 week ago