activity-recognition Questions

3

Solved

I'm trying to use ActivityRecognition. However I get an error when i'm trying to get a transition update for DetectedActivity.TILTING or DetectedActivity.UNKNOWN. For all the other activity types I...

0

I'm little bit confused why my Transitions API solution works usually for first day or two and after that stop receiving any updates. I dug deeper into it and found a lead that talks about how we n...

10

i am currentyl trying to implement Google ActivityRecognitionApi. However i get following errors: Error:Failed to crunch file C:\Users\marschall\Desktop\googlesamples-android-play-location-2ed2...

1

I am working with Android ActivityRecognition api. When setting the PendingIntent flag to be PendingIntent.FLAG_UPDATE_CURRENT or PendingIntent.FLAG_IMMUTABLE (as recommended?) the received intent ...
Backbite asked 6/11, 2021 at 7:41

2

Solved

I'm testing Activity Recognition API in 2 apps : Google sample code and implementation of this code in my app. The problem is both apps keeps getting activity recognition fine but after a few hou...
Chauncey asked 30/4, 2015 at 18:34

2

Solved

Google Play Services provides an ActivityRecognitionApi that lets you detect various user activities (via DetectedActivity) such as if the user is walking or running. Is it possible to mock these ...
Ingather asked 25/7, 2017 at 1:3

3

Is there a good way to simulate a DetectedActivity.IN_VEHICLE in an Android Emulator. Currently, I'm trying to get the ActivityRecognitionApi to detect an event by sending commands via telnet. sen...
Cobden asked 8/2, 2016 at 23:17

1

Solved

I use activity recognition api and activity transitions. When I first run the app, the first transition is always the. In this app it's WALKING-ENTER. When I tried with only IN_VEHICLE-ENTER and IN...
Malapropos asked 9/5, 2018 at 16:21

2

I have used the Activity Transition API launched by Google recently to detect when a User gets in and out of the vehicle. Below is the code I am using to achieve the same. val intent = Intent(con...

2

I need to get location(By fusedlocation API) of user after ActivityRecognition Detect user state (Which calls every 3 mins), like IN_VEHICLE,ON_FOOT,RUNNING etc. On each event i need user location...
Antihelix asked 26/4, 2017 at 22:47

4

Solved

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 return...
Marlomarlon asked 18/7, 2014 at 6:28

3

Solved

In Google Play Services Activity Recognition there is DetectedActivity.RUNNING, DetectedActivity.WALKING, DetectedActivity.ON_FOOT when ever I get an activity update for either walking or runni...
Demarcation asked 17/7, 2014 at 23:44

0

Disclaimer: this is not duplicate of Activity Recognition stops receiving updates when phone goes to standby(screen off state) because I'm already using that approach and it does not help. Problem...

2

Solved

I'm trying to implement activity recognition so it will support api 23. I've followed the running permissions guide from here : https://developer.android.com/guide/topics/security/permissions.htm...

1

Solved

I'm attempting to follow Google's Activity Recognition example. In the example they start the activity recognition when you click a button, however I'd like to just start it up when the app starts...
Wifehood asked 22/3, 2015 at 1:47

2

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 ...
Medic asked 20/11, 2014 at 13:20

2

I am having some trouble with activity recognition. I have implemented it in an app and it works fine when the device's screen is on. I have a log entry in my Activity recognition intent service cl...

1

In Android 4.4 google play services introduced "walking" activity Recognition but there is already on_foot recognition. What is the difference between the both?
Cauliflower asked 28/7, 2014 at 6:0

1

I have tried to compile example code from new Google location API that should show user's activity. Like on foot, in vehicle etc. Link to the example is http://developer.android.com/training/locat...
Withers asked 13/6, 2013 at 9:53

0

I'm using Activity recognition to detecting user activity. I found a strange behavior, after I turn off and turn on "WiFi & mobile network location" the application did not get any activ...
Acetate asked 20/1, 2014 at 7:27

1

Solved

On the last Google I/O was introduced a new service in the Location API's in Android - Activity Recognition. Is there such a framework for iOS?
Squilgee asked 3/9, 2013 at 9:13
1

© 2022 - 2024 — McMap. All rights reserved.