Questions tagged [activity-recognition]

Activity recognition tries to detect the user's current physical activity, such as walking, driving, or standing still.

Location Services sends out activity information containing one or more possible activities and the confidence level for each one.

Mark a question with this tag if the problem you have involves the use of Location Services and its receiving its PendingIntent or the implementation of FragmentActivity

From the Android.com site

208 questions
2
votes
1 answer

Real-time Android application

I would like to build an Android app that process acceleration data and return result every 0.5 seconds. Are there any way to deal with the problem with out using native code? P/s: I'm a newbie so please go easy on me!
GEM
  • 58
  • 5
2
votes
2 answers

Google Activity Recognition API

I am going to write an application using google play services activity recognition api. the training in android developer site was straight forward but in the past couple of hours i wrote a simple application but i can't get any result from…
2
votes
2 answers

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 problem is in following sequence : I install that…
1
vote
0 answers

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-recognition.
1
vote
0 answers

Poor accuracy in human activity recognition

I'm trying to do human activity recognition using CNN and accelerometer. This is the balanced dataset i'm using for training: balanced_data['activity']. value_counts() Walking 3555 Jogging 3555 Upstairs 3555 Downstairs …
1
vote
0 answers

Step counter not working on Samsung phones which dont have Step sensors

i am developing simple step counter app app works on almost devices but problem is app not working on some Samsung phones and other phone which don't have step counter sensor. I don't want to use Google FIT I Have Activity Recognition permission…
1
vote
0 answers

Android Activity Recognition works really bad

I am trying to detect a simple state of "walking" vs. "still" on Android. For this, I have implemented the ActivityRecognitionClient following the official Google codelab. Essentially everything comes down to the request you make to the API, it's…
Andrei Mesh
  • 256
  • 2
  • 20
1
vote
2 answers

android service always running and notify user when needed

I need a service to make a notification whenever the user is in a moving car. I use ActivityRecognition to find out when the user is in a car.the issue is I need my service to run even when the app is destroyed or removed by the user. I tried…
amirreza
  • 13
  • 4
1
vote
1 answer

How to use GAN for Generating Human Activity Recognition Data?

Currently, I am working on Human Activity Recognition using wearable sensor data (i.e., accelerometer, gyroscope, etc). Now, I am trying to generate some synthetic sensor data from accelerometer (xyz) data. I used GAN to generate synthetic data set…
1
vote
0 answers

How to set up dependencies to get access to the ActivityRecognition API?

According to this link (Detect when users start ou end an activity), I have added the com.google.android.gms:play-services-location:17.0.0 library to use the ActivityRecognition API in my app. The problem is that Android Studio, despite this,…
Zelig63
  • 1,592
  • 1
  • 23
  • 40
1
vote
0 answers

Unable to receive activity transition recognition callbacks

I'm trying a simple thing, but unfortunately, I'm unable to achieve it. I want to receive activity transition recognition callbacks from Android SDK 26 - 29: I have registered the following permissions in the manifest:
Thomas
  • 107
  • 6
1
vote
0 answers

BroadCastReceiver not receiving from ActivityRecognitionService

I am trying to track the users activities with a Service + BroadCastReceiver. ActivityTrackingService.java public class ActivityTrackingService extends Service { private static final String TAG = "ActivityTracking"; public static…
1
vote
0 answers

How does the ActivityRecognitionClient work in detail?

Developer out there, I have some questions about the ActivityRecognitionClient, which are not described in detail in the documentation. 1. What kind of machine learning models and/or or what kind of NN or combinations of algorithms are used? Are…
1
vote
1 answer

How to prepare the multilevel multivalued training dataset in python

I am a beginner in machine learning. My academic project involves detecting human posture from acceleration and gyro data. I am stuck at the beginning itself. My accelerometer data has x,y,z values and gyro also has x,y,z values stored in file…
Bukaida
  • 225
  • 2
  • 6
  • 15
1
vote
0 answers

How to receive update activity transition using ActivityRecognitionClient in android Oreo?

I used ActivityRecognitionClient to request update activity transition and receive result in pending intent broadcast receiver. But my broadcast receiver never trigger. It works well on android 7 Nougat, but not work on android 8 Oreo. I know there…
MichaelP
  • 2,761
  • 5
  • 31
  • 36