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
- Host: GitHub
- URL: https://github.com/alireza-87/falldetectlib
- Owner: alireza-87
- Created: 2020-03-09T00:03:43.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-04-20T00:50:11.000Z (about 6 years ago)
- Last Synced: 2025-10-10T16:43:50.610Z (9 months ago)
- Topics: android, android-library, android-sensor, dagger2, dagger2-android, library, room
- Language: Java
- Homepage:
- Size: 150 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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();