Bee Analyzer is about developing GPS tracking mobile phone application and analyzing pedestrian movement of the Istanbul Technical University Ayazaga Campus community. The application is used for keeping trace of the campus members. According to GPS tracks of volunteers a set of queries executed than there was meaningful results came to light.
- Gradle 1.3: http://www.gradle.org/downloads
- Android SDK v22: http://developer.android.com/sdk/index.html
- Gradle Wrapper
- Google Services
- Google Maps API
- Firebase Messaging & Notification Services
gradlew androidDependencies
gradlew build
gradlew test
gradlew installDebug
- JSON Web Service API (ASP.NET)
- MSSQL Server
Title | Insert GPS Data |
---|---|
URL | /Handler.aspx |
Method | POST |
Data Params | Content= { "interface":"RestAPI", "method":"InsertGPSdatas", "parameters": { "timestamp":"05-08-2017 19:58:37", "longitude":"29.0030576", "latitude":"41.0805082", "out":"0", "imei":"#imei" } } |
Success Response | Status: 200 OK |
Error Response | Status: 406 Not Acceptable or Status: 500 Internal Server Error |
Title | Get Instant Marks on the Map |
---|---|
URL | /Handler.aspx |
Method | POST |
Data Params | Content= { "interface":"RestAPI", "method":"getMarks" } |
Success Response | Status: 200 OK Content: { "#imei": { "imei":"#imei", "latitude":"41.0805082", "longitude":"29.0030576", "timestamp":"05-08-2017 19:58:37" } } |
Error Response | Status: 406 Not Acceptable or Status: 500 Internal Server Error |
Title | Get Routes on the Map by IMEI |
---|---|
URL | /Handler.aspx |
Method | POST |
Data Params | Content= { "interface":"RestAPI", "method":"getOwnRoutes", "parameters": { "imei":"#imei", "mindate":"18-05-2017 13:00:00", "maxdate":"18-05-2017 14:00:00" } } |
Success Response | Status: 200 OK Content: { "#id": { "latitude":"41.1044601", "longitude":"29.0192417", "timestamp":"18-05-2017 13:00:45" }, "#id": { "latitude":"41.1034601", "longitude":"29.0152417", "timestamp":"18-05-2017 13:01:20" } ... } |
Error Response | Status: 406 Not Acceptable or Status: 500 Internal Server Error |
Title | Get All Routes |
---|---|
URL | /Handler.aspx |
Method | POST |
Data Params | Content= { "interface":"RestAPI", "method":"getRoutes" } |
Success Response | Status: 200 OK Content: { "#imei": { "#id": { "latitude":"41.0805082", "longitude":"29.0030576", "timestamp":"05-08-2017 19:58:37", "out":"0" }, "#id": { "latitude":"41.0305082", "longitude":"29.0630576", "timestamp":"05-08-2017 20:00:37", "out":"1" } }, "#imei": { "#id": { "latitude":"40.0805082", "longitude":"29.7030576", "timestamp":"05-08-2017 18:58:37", "out":"0" } ... } ... } |
Error Response | Status: 406 Not Acceptable or Status: 500 Internal Server Error |
Title | Admin Login |
---|---|
URL | /Handler.aspx |
Method | POST |
Data Params | Content= { "interface":"RestAPI", "method":"login", "parameters": { "username":"#username", "password":"#password" } } |
Success Response | Status: 200 OK Content: { "status":"successful" } |
Error Response | Status: 200 OK Content: { "status":"failed" } or Status: 406 Not Acceptable or Status: 500 Internal Server Error |
Title | Send Notification |
---|---|
URL | https://fcm.googleapis.com/fcm/send |
Method | POST |
Data Params | { "to":"/topics/news", "data": { "text":"message" } } |
Success Response | Status: 200 OK |
Error Response | Status: 400 or Status: 401 or Status: 5xx |
Copyright (C) 2017 Nurefsan Sarikaya. It is distributed under the MIT license - see the accompanying LICENSE file for more details.