An open API service indexing awesome lists of open source software.

https://github.com/alireza-87/falldetectlib

An Android library for free fall detection
https://github.com/alireza-87/falldetectlib

android android-library android-sensor dagger2 dagger2-android library room

Last synced: 2 months ago
JSON representation

An Android library for free fall detection

Awesome Lists containing this project

README

          

# FallDetectLib
An Android library for free fall detection

This library detect free fall and save it inside local db

The library use Dagger 2 as dependency injection also we use Android Room Used as database.

* Usage:
* initialize lib in your Application class
* LibLoader.builder().setContext(getApplicationContext()).setStayAwake(true).setShowNotification(true).build();
* if you want to show Notification:
* setShowNotification(true)
* if you wawnt to use service inorder to detect fall when application is close:
* setStayAwake(true)
* To get a history and new free fall detection, just put an observable on this method
* FallHandler.getInstance().getFallList();