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
0
votes
1 answer

How to start service based on result from activity recognition

I am Trying to start a service if the DetectedActivity returned from Activity recognition returned is IN_VEHICLE. I have downloaded a code sample from : http://tutsberry.com/activity-recognition-implementation-on-android/ But i'm not sure where to…
Andrew Irwin
  • 691
  • 12
  • 40
0
votes
1 answer

how to use MHI and MEI for action recognition

I'm currently working on a project to recognise human action / activity through Matlab for elderly surveillance. I'm reading up on different paper to understand how to recognise these action and I have across motion history image and motion energy…
0
votes
1 answer

ActivityRecognitionAPI keeps sending pending intents to the service

I am using ActivityRecognitionAPI in Android 4.4.2 to detect activities on the phone. I am using this code to implement this. The code requests for activity updates after every 15 seconds (I know, the documentation says that this is the upper bound…
Max Testing
  • 135
  • 2
  • 8
0
votes
0 answers

ActivityRecognitionApi keeps crashing

Hi I am trying to create an android app for using ActivityRecognition API. But when I install it on my mobile it craches after some movement. Can you help? Manifest:
batspy
  • 385
  • 5
  • 7
0
votes
1 answer

Android Activity Recognition updates are not regular

Related to this question. I am experiencing that Activity Recognition updates are not delivered on a regular basis. The power saving mode on my phone is disabled and I set the fastest possible detection interval (0), yet sometimes intents are not…
dragoon
  • 5,601
  • 5
  • 37
  • 55
0
votes
1 answer

How to send data to ActivityRecognition Intent Service without replacing its activity data?

I am working on user activity tracking application. I have used the Activity Recognition API to track the user activity. I have set the Intent service to be called to get the user activity at specified interval for example every 20 seconds. …
0
votes
2 answers

Android - GoogleApiClient ActivityRecognitionIntentService is never called

I need to detect user dynamics in my application. I started by using GooglePlayServicesClient which till three months ago worked perfectly, Then it stopped working on my HTC one device (although it was still working on three different devices I've…
user_s
  • 1,058
  • 2
  • 12
  • 35
0
votes
1 answer

Action Recognition using SVM for 3D array

I am working on action recognition topic using Matlab. Each video contains specific number of frames, and each frame contains different coordinates of X,y,z. After extracting the features, I got an cell array which contains 3D array for each video.…
0
votes
2 answers

Does Android ActivityRecognitionApi work , No Updates received on onHandleIntent

Guys have anybody got the ActivityrecognitionAPI to work in Android. It does not give any updates. Have tried the API documents, Plenty of Examples. OnHandleIntent does not fire. import…
0
votes
1 answer

Google ActivityRecognitionApi not firing any callbacks

GooglePlayServices recently changed from the way you detect the users activity - from using ActivityRecognitionClient to ActivityRecognitionApi. I have followed all the examples I can find but must have missed something. After making the call to…
William
  • 1,255
  • 2
  • 10
  • 9
0
votes
0 answers

Google Play Services - Activity Recognition Freezes After a Few Results

I have tried to simplify my code as much as possible, basically hte issue is that the ActivityRecognitionIntentService appears to be called a couple of times, then stalls out. It appears to be related to the requestCode in the PendingIntent, but I…
eWizardII
  • 1,916
  • 4
  • 32
  • 55
0
votes
0 answers

Android ActivityRecognitionService.java Not Starting - Google Play Services

I have the following code in one class Pinger.java public class Pinger extends Service implements LocationListener, GoogleApiClient.ConnectionCallbacks, GoogleApiClient.OnConnectionFailedListener { @Override public void…
eWizardII
  • 1,916
  • 4
  • 32
  • 55
0
votes
1 answer

Why eclipse can not resolve com.google.android.gms.location.ActivityRecognitionClient?

I want to use google ActivityRecognition service in my android application. I've install google play services from SDK manager and add google_play_services_lib project to my project by import option and hitting "copy project to your workspace"…
N. S.
  • 159
  • 7
0
votes
1 answer

Activity Recognition - how to use it

I'm looking for a solution which safes the battery in my "location based app". I got a question to the Activity Recognition, which provides Google for Android. Actually I got the problem that my phone will only recognize my current "activity" when…
Martin Pfeffer
  • 12,471
  • 9
  • 59
  • 68
0
votes
1 answer

Imported Project in Android Studio can't resolve ActivityRecognnitionClient

I imported a project from Eclipse to Android Studio. It uses Activity Recognition and Location Services. Now, this Android Studio project can resolve : 1) GooglePlayServicesClient(com.google.android.gms.common.GooglePlayServicesClient) and even 2)…
1 2 3
13
14