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
1
vote
1 answer

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 have completed the code.if any one answers these…
Niranjan
  • 1,879
  • 2
  • 22
  • 28
1
vote
1 answer

How ActivityRecognition works?

I am eager to know how ActivityRecognition which is in GooglePlay Services works? I think activities are recognized by accelerometer data.Is it right?.Please give me the details how it goes?
Niranjan
  • 1,879
  • 2
  • 22
  • 28
1
vote
1 answer

Does Google's Activity Recognition works on every Android device supporting API higher than 8?

I'm trying to launch any android ActivityRecognition example but have no success after couple of days. I installed Google Services, successfully connected to LocationServices client, installed the latest SDK, placed intent service in my app, turned…
1
vote
1 answer

android Activity Recognition Parcelable protocol requires a Parcelable.Creator

I am having problems with Activity Recognition and I get the following error: 05-07 22:32:03.553: E/AndroidRuntime(5546): FATAL EXCEPTION: IntentService[dk.finne.minrute.service.ActivityRecognitionIntentService] 05-07 22:32:03.553:…
1
vote
0 answers

Activity Recognition updates does not start unless I restart phone

I am using Activity Recognition service in my application. Sometimes, the service stops suddenly and it works only if I restart the phone. In Nexus 5, it is not starting even after restart I have latest google play services version 4.3.23 Thanks in…
Chamu
  • 194
  • 5
1
vote
1 answer

ActivityRecognitionClient requestActivityUpdates() method doesn't trigger given PendingIntent when phone state is stand by

I coded an application to record user's location periodically (in the background). I used ActivityRecognitionClient. When activity is received it is compared to previous activity state and is recorded (or not) according to evaluation. It's working…
1
vote
0 answers

Activity Recognition - Dimension reduction for continuous HMMs

I am a novice at HMMs but I have tried to build a code using Jahmm for the UCI Human Activity Recognition data set. The data set has 561 features and 7352 rows, and also includes the xyz inertial values of both the accelerometer and gyroscope, and…
1
vote
3 answers

Android Activity Recognition not working with Nexus 5

I had a code working that was using Google's Activity Recognition Updates. Now all of a sudden these seem to send updates either several times per second or never although requested every 20 seconds. I haven't changed the code and checked earlier…
stofl
  • 47
  • 1
  • 7
1
vote
0 answers

Activity Recognition Pending intent Call Backs Never Get Fired

In my application the activity recognition updates are directed to a IntentService through a pending Intent.I observed that sometimes the updates never get fired. But when phone is restarted the update start to fire.Have anybody come across this…
pablogeorge
  • 233
  • 1
  • 10
1
vote
0 answers

Activity Recognition Client removing Updates

When i tried to call removeUpdates(PendingIntent) from ActivityRecognitionClient it throwed an exception(Client Not connected).So i checked ActivityRecognitionClient.isConnected() and then did removeUpdates .This Solved my problem.But then i saw…
pablogeorge
  • 233
  • 1
  • 10
1
vote
2 answers

Is there Aforge.NET algorithm for human activity recognition?

I was wondering if there is Aforge.NET algorithm that is intended for human activity recognition? For example, I would like to recognizing drowning while capturing frames from surveillance camera on the beach. I saw there are algorithms for motion…
Antun Tun
  • 1,507
  • 5
  • 20
  • 38
1
vote
1 answer

Android activity recognition and location client

I want to use an ActivityRecognitionClient and a LocationClient in the same Activity. The trouble is that either calls onConnected. I would like to use both e.g. to write the location and the recognized activity to a database. I thought that should…
0
votes
0 answers

Activity Recognition Transitions API issue

I'm developing a mobility monitoring system for educational purposes and so I decided to use the Android API Activity Transitions to recognize activities such as IN_VEHICLE or ON_BICYCLING. I followed the implementation given by android in the…
0
votes
0 answers

How to properly use Android Activity Recognition API in expo

I was wondering if it is possible to get the current activity of the user in expo with the Android Activity Recognition API and iOS similar. I'm willing to get the moment that the user changes from driving to walking or vice-versa. I've already…
João
  • 1
0
votes
1 answer

Android Notification: at your request android is blocking this app's notifications

I'm developing an android application with Java, Node.Js as backend and Postgres as database. The application for now has an authentication and I have implemented the recognition of user activity through the related API. My problem however, is that…