apps8os / contextlogger3

This is a repository for contextlogger3 software that is being built in Aalto University on top of the funf framework (http://code.google.com/p/funf-open-sensing-framework/). This project has originated from and is inspired by the ContextLogger2 project (http://contextlogger.org/) developed at Helsinki Institute for Information Technology (HIIT). All source code in this project is published under MIT open source license (http://opensource.org/licenses/MIT). If you have any questions about the project, please contact Kimmo Karhu (firstname.lastname [at] aalto.fi).
13 stars 2 forks source link

GoogleActivityRecognitionProbe #50

Closed ktkarhu closed 10 years ago

ktkarhu commented 10 years ago

http://developer.android.com/reference/com/google/android/gms/location/ActivityRecognitionClient.html

ktkarhu commented 10 years ago

Log all possible data from ActivityRecognitionResult into own columns.

ktkarhu commented 10 years ago

Value could be something like this: {"Activity":"IN_VEHICLE","ActivityConfidence":34,"ProbableActivities":"[IN_VEHICLE][ON_BICYCLE]","timestamp":1392726767.081}

chaow commented 10 years ago

At the moment, the data format would look like below: {"Activity":"UNKNOWN","ActivityConfidence":"54","ProbableActivities":"[{\"ActivityConfidence\":\"54\",\"Activity\":\"UNKNOWN\"},{\"ActivityConfidence\":\"29\",\"Activity\":\"ON_FOOT\"},{\"ActivityConfidence\":\"13\",\"Activity\":\"STILL\"}, {\"ActivityConfidence\":\"3\",\"Activity\":\"ON_BICYCLE\"}]","timestamp":"1393271296573"}

chaow commented 10 years ago

At the moment, we can have this probe functioning without problem, but due to technical issue, we need to use other configuration file for this probe (like the value of detection interval).

ktkarhu commented 10 years ago

Like we discussed, please use the default "interval" paramameter already available for any probe. If no value is specified for interval parameter, a default value such as 1min should be used. All probes, built-in and our own should be specified in the same configuration file.