Activity Recognition returning stale activity
NickName:JenniferG Ask DateTime:2015-04-11T02:12:44

Activity Recognition returning stale activity

I am currently writing an app that uses the Google's Activity Recognition API, however in my onHandleIntent method when I put a break point in there to examine the intent being passed in from the service, it is showing me stale data. The activity is returning as STILL even though I am on the road and even on the freeway. [FYI I am not driving but in a moving vehicle :) ] is there anyway to flush the results? even when I disconnect and reconnect I am still getting this STILL reading.

Copyright Notice:Content Author:「JenniferG」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/29568125/activity-recognition-returning-stale-activity

More about “Activity Recognition returning stale activity” related questions

Activity Recognition returning stale activity

I am currently writing an app that uses the Google's Activity Recognition API, however in my onHandleIntent method when I put a break point in there to examine the intent being passed in from the s...

Show Detail

Android Activity Recognition on Wearables

I'm researching ways on how to do activity recognition using an android smartwatch. Currently, I'm focusing on detecting whether the user is walking or standing still. My first idea was to use the ...

Show Detail

React Native Activity Recognition

i want to implement the user activity in react native, could you please help me which one is the best package for implementing the activity recognition of user other then react-native-activity-

Show Detail

Getting previous activity in Activity Recognition

I am designing an app which requires to get the activities using activity recognition.But i am new to android.And now i can implement and get results of activities but i have some questions here.I ...

Show Detail

Activity Recognition API

Anyone have trouble with the Activity Recognition API in the recent Google Play Services update? I have it implemented in an app. It was working perfectly fine before the 5.0 update. Now it returns

Show Detail

Android activity recognition not working properly

Hi I am developing android application and in that I am using activity recognition. I download Google's sample application for activity recognition. It working properly without any error. But my main

Show Detail

Activity Recognition and Location Client Android

I am having difficulty making use of both Activity Recognition an LocationClient to fetch current location. I want to fetch users current location when the Activity recognition returns "IN_VEHICL...

Show Detail

Activity Recognition in Background using Flutter

I want to implement activity recognition in background that means if user close the application even then it'll listening the activity recognition states whether it is in IN VEHICLE, STILL or in wh...

Show Detail

Android ACTIVITY RECOGNITION permission missing

I am targeting SDK 29, and activity transition API works perfectly on devices running 29 (ie Android 10). According to the docs, if you are targeting SDK 29, but running on a lower SDK, the permiss...

Show Detail

Startup delay of Android Speech Recognition Activity

I'm trying to implement an Android application that has a conversation with the user via a text-to-speech and Android's speech recognition activity. The following code starts the activity, as docu...

Show Detail