gavination / Tremor-Trainer

2 stars 0 forks source link

Welcome to Tremor Retrainer!

Tremor Trainer is a cross-platform mobile app lovingly built using Xamarin.Forms 5 by a team of cybernetic pandas. The application seeks to provide access to frontline therapy for those suffering from Functional Tremors. At the time of implementation, there are no known methodologies for providing a means to temper the effects of functional tremors other than Tremor Trainer. Thanks for the combined research and efforts of Drs. Jordan Garris, Alberto Espay, and Amanda Lin, we were able to implement those learnings into a simple to use mobile application that requires not much more than a smartphone (Android, iOS) with an Accelerometer.

Application Architecture

Currently a WIP. This section will be updated soon.

Necessary Components and Project Organization

This project collects telemetry and crash reporting data using Visual Studio App Center. To get started, you'll have to create a free App Center account and add your keys to the application.

Getting Started With This Project

To get started, the following tools must be installed on your machine:

Get the Tools

Windows:

MacOS:

Create a new application in Visual Studio App Center targeting either iOS or Android as the OS, depending on the platform you wish to build. If you intend to build on both iOS and Android, you'll have to create 2 apps. In both cases, be sure to select Xamarin as the platform. Copy the keys provided in the "Xamarin.Forms" section of the Getting Started guide. In the shared project of the Tremor-Trainer (the directory without a "Tests", ".Android" or a ".iOS" suffix), create an appsettings.json file. This file will hold all developer secrets required to authenticate to external services, like App Center. For reference on the structure, use the samplesettings.json file as guide. You can copy and rename the copy to ensure the structure is maintained. Replace the AndroidAppCenterSecret and the IOSAppCenterSecret values with the ones obtained from Visual Studio App Center.

Install the Dependencies

All dependencies can be installed using the NuGet Package restore function in Visual Studio. After opening the solution in Visual Studio, right click the solution and select "Restore NuGet Packages".

Running the App

Right-click the app version you wish to run (TremorTrainer.Android or TremorTrainer.iOS) and be sure the target device is the physical phone. Then, hit F5 or the Run button to build and deploy the application.