Skip to content

chizhang529/smart-fit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Smart Fit

Smart Fit is a IoT product designed and built by Chi Zhang, Jiajie He, Jang Won Suh and Supanath Juthacharoenwong. It is also a team project for Mechaphonics: Smart Phone-Enabled Mechatronic Systems(ME202) at Stanford University, Spring 2017.

⚠️ This page serves as software description, please refer to the project website for more details on mechanical and eletrical systems setup.

Requirements

Third-party Services and Libraries

Android Dependencies

app level

dependencies {
    compile 'com.android.support:appcompat-v7:25.3.1'
    // Access to Android Design library
    compile 'com.android.support:design:25.3.1'
    // Constraint layout
    compile 'com.android.support.constraint:constraint-layout:1.0.2'
    // Recycler view
    compile 'com.android.support:recyclerview-v7:25.3.1'
    // Image processing (Picasso)
    compile 'com.squareup.picasso:picasso:2.5.2'
    // View injector (Butter Knife)
    compile 'com.jakewharton:butterknife:8.5.1'
    // Gif views
    compile 'pl.droidsonroids.gif:android-gif-drawable:1.2.7'
    // Progress button
    compile 'com.github.dmytrodanylyk.circular-progress-button:library:1.1.3'
    testCompile 'junit:junit:4.12'
    annotationProcessor 'com.jakewharton:butterknife-compiler:8.5.1'
    // Firebase
    compile 'com.google.firebase:firebase-core:10.2.6'
    compile 'com.google.firebase:firebase-auth:10.2.6'
    compile 'com.google.firebase:firebase-database:10.2.6'
    compile 'com.google.firebase:firebase-storage:10.2.6'
}

For use of Google Services, you also need

apply plugin: 'com.google.gms.google-services'

on the bottom of build.gradle in app folder.

build level

repositories {
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:2.3.2'
        // Google Services
        classpath 'com.google.gms:google-services:3.1.0'
    }

Android App Workflow

❗ We realized that Bluetooth Service could only be binded with one activity at a time near the end of the project timeline, so the way we handled BLE (simply binding and unbinding when switching activities) was not elegant. We strongly suggest you use fragments inside one activity to achieve the same functionality.

Android App GIF Demo

Fitting Room App Merchant App

Arduino State Machine

Copyright ©️

All trademarks and clothes photos in the app are owned by Uniqlo Co., Ltd. The use of the copyrighted work involved in this project is for educational purposes, and should be considered fair use.

About

Fitting Room Assistance System Based on Android and Arduino

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published