Skip to content

Android app that collects raw data from a Microsoft Band 2 paired by Bluetooth.

Notifications You must be signed in to change notification settings

enioluwas/BandData

Repository files navigation

BandData

An Android app that collects raw data from a Microsoft Band 2 paired by Bluetooth.

It is a 1/2 part application that works together with PCServerReceiver.

Definitely still a work in progress as many things are not optimal.

Features

  • Written in Android-Java with Android Studio.
  • UI components defined in XML and programmed in Java.
  • Sends data to PC by IP address over WiFi.

Install

  • Download the project and import it using Android Studio.
  • Compile the application into an apk file
  • Either upload the .apk file to allow an Android to download it, or manually transfer it to the Anroid otherwise.

Dependencies

  • A Microsoft Band 2
  • An Android phone running KitKat OS 4.4.2 or later [ Needs confirmation ]

Configuration

  • The IP address of the PC is set up in MainActivity.java. This socket also needs a port matching the one programatically configured in the Server.java of PcServerReceiver.

    Socket client = new Socket("144.118.240.219", 2323);

Usage

Screenshots coming soon!

  • Pair the Microsoft Band 2 to the Android device
  • Open the application
  • The FIRST thing to do is to give the application permission to get Heart Rate data from the band. Hit the button and accept the dialog box
  • The rest of the data does not require consent. Hit 'Get Band Data' and the data should start showing up on screen.
  • Hit 'Connect to Server' to begin streaming the data to the configured PC server.
  • Hit 'Disconnect from Server' to stop sending the data to the PC server.

Known Issues

Please build this list with issues related to user experience.

  • Pausing the app can skewer the network thread, causing the app to be in a weird state when re-opened.

Contributing

Members of the Drexel AIR Lab can contribute using pull requests. Please see this guide to learn how to create pull requests.

About

Android app that collects raw data from a Microsoft Band 2 paired by Bluetooth.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages