Closed ktkarhu closed 10 years ago
Log all possible data from ActivityRecognitionResult into own columns.
Value could be something like this: {"Activity":"IN_VEHICLE","ActivityConfidence":34,"ProbableActivities":"[IN_VEHICLE][ON_BICYCLE]","timestamp":1392726767.081}
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"}
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).
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.
http://developer.android.com/reference/com/google/android/gms/location/ActivityRecognitionClient.html