https://github.com/denis-pingin/swarm-enhancer
Swarm Enhancer
https://github.com/denis-pingin/swarm-enhancer
android-application foursquare location-based
Last synced: about 1 month ago
JSON representation
Swarm Enhancer
- Host: GitHub
- URL: https://github.com/denis-pingin/swarm-enhancer
- Owner: denis-pingin
- License: unlicense
- Created: 2019-09-19T18:28:22.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-09-22T19:40:01.000Z (almost 7 years ago)
- Last Synced: 2025-05-05T05:06:17.629Z (about 1 year ago)
- Topics: android-application, foursquare, location-based
- Language: Java
- Size: 159 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Swarm Enhancer
This Android application will periodically check your current location and automatically check you in to the closest Foursquare venue.
## Parameters
### Update interval
_Update interval_ parameter controls how often the app will check whether your current location changed significantly relative to the _most recent checked-in venue_ in foursquare.
If a user moves within the _local radius_ from the_ most recent checed-in venue_, this check is very cheap, since the location of the _most recent checked-in venue_ is cached in the application and no foursquare API requests are required.
Only if the user has moved away from the cached _most recent checked-in venue_ location for more than the _local radius_ parameter, the app searches for a _new venue_ through the foursquare API and also retrieves user's _most recent checked-in venue_. It then checks whether the distance between the _new venue_ and the _most recent checked-in venue_ is larger that the _local radius_ to determine whether a new check-in should be created.
Default value: 4 hours
### Local radius
_local radius_ parameter is used to determine whether a new check-in should be performed. This parameter is used to calculate:
* a distance between user's _current location_ and the _most recent checked-in venue_ in foursquare.
* a distance between the _most recent checked-in venue_ and the _new venue_, which is the first one in foursquare search results.
In both cases the distance must be greater than the _local radius_ parameter for the new check-in to happen. Parameter unit is km.
Default value: 5 km