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
2 answers

How much energy does Activity recognition API consume exactly?

I know that everyone keeps saying it's low but is there a way of getting real numbers instead of just saying "low" ? Like Fused location provider, it officially says it consumes 7.25% per hour if it's updated every 5 seconds in high accuracy mode.…
student93
  • 307
  • 2
  • 12
0
votes
1 answer

How to make Human Activity Recognition less sensitive in Android

I am developing an Android app that is recognising the activity the user us doing every 3 seconds (has to be that frequent by design) (e.g. static, walking, running). I have an Activity table in my database that increments the following…
Georgi Koemdzhiev
  • 11,421
  • 18
  • 62
  • 126
0
votes
0 answers

HAR feature selection

I've been working on human activity recognition using a UCI dataset. 561 features are computed from the raw signals come from accelerometer and gyroscope. Based on these 561 features, a high accuracy is achieved. Now I intend to use less features to…
0
votes
1 answer

My Android ActivityRecognition implementation is too slow

I used Google ActivityRecognitionApi for tracking whether i am walking or not. But It seems too slow. What's the problem? It doesn't related to internet connectivity. [Walking.java] @Override protected void onCreate(Bundle savedInstanceState) { …
0
votes
1 answer

Cannot resolve symbol 'ActivityRecognition'

I've tried a whole month to learn to use Google's Activity Recognition service, and met a very confusing problem while adding ActivityRecognition.API to mGoogleApiClient. mGoogleApiClient = new GoogleApiClient.Builder(this) …
0
votes
1 answer

how to prepare dataset for activity recognition

I trying to recognise human activity and I did not find some of these activities in the public datasets. I am looking for datasets of reading and Lying activities. Now, I decided to prepare it here in the school. MY question is how to prepare a…
0
votes
1 answer

what the meaning of normalized bounding box

I have read in a paper that the author normalized the bounding box in the frame. what the meaning of normalizing the bounding box and what the benefits of this process. Thanks in advance for your cooperation Regards
0
votes
1 answer

Android simulation of activityRecognition events

Is there a way to simulate / generate activity recognition events (i.e. - walking) in junits for a android application? My goal is to fully test the logic I have that is related to receiving an activity recognition event and not the activity…
MrMagoo
  • 67
  • 1
  • 12
0
votes
1 answer

Android background services best practise

I'm developing an application for a small research project that utilizes the ActivityRecognition API and the GPS. What I'm trying to achieve is to have both APIs running as a background process, and record current data periodically in a log file.…
kirgy
  • 1,567
  • 6
  • 23
  • 39
0
votes
1 answer

ActivityRecognitionAPI Documentation/Explanation

Anyone know a great documentation or explanation of the Google ActivityRecognitionAPI? Except this one: https://developers.google.com/android/reference/com/google/android/gms/location/ActivityRecognitionApi This doc is so weak, I would like to know…
0
votes
1 answer

Google Activity Recognition API called too frequently

Im trying to use Google Activity Recognition API, and get only results when activity changes or about every 30mins (+- 10mins or more if Activity does not change). Instead, when I call the piece of code below, I get Activity Recognition results very…
0
votes
1 answer

Minimum required API for using ActivityRecognitionApi via GoogleApiClient

In order to recognise the user's physical activity (such as still, walking, running etc.), an app can use the ActivityRecognitionAPI offered by Google. I have successfully implemented and tested it on Nexus 6 with Android 5.1.1 version. Since my…
abhi
  • 1,412
  • 19
  • 25
0
votes
1 answer

Activity Recognition when the app is not running?

In the demo video provided by google, it is said that you don't need to keep a service running to receive updates on activity recognition. But all code examples I could find show that you need to register ActivityRecognition in MainActivity for it…
0
votes
0 answers

Disable location and Activity Recognizing sample still works

In the ActivityRecognition's introduction, there is a sentence "To run this sample, location must be enabled." But when I disable "Android Location", ActivityRecognition sample still works. I just want to know is there any different in application…
Hoa Nguyen
  • 91
  • 9
0
votes
1 answer

Activity recognition removed after app is updated

I use ActivityRecognition.ActivityRecognitionApi.requestActivityUpdates(googleApiClient, interval, getPendingIntent()); to track the user's activity, which works fine. But when I install an update by creating a new build with Android Studio, I stop…
mennovogel
  • 339
  • 1
  • 2
  • 9