Questions tagged [significant-motion-sensor]

7 questions
6
votes
0 answers

Android defaultSensor TYPE_SIGNIFICANT_MOTION returns null after 24 hours

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 need to have SIGNIFICAT_MOTION sensor active in order…
1
vote
0 answers

A physical Accelerometer exists but virtual Significant Motion Sensor doesn't exist

I have an Xperia Z phone which runs Android 5.1 on. When checking the sensors that are present I get the below results: mSensorAccelerometer: {Sensor name="MPL Accelerometer", vendor="Invensense", version=1, type=1, maxRange=19.6133,…
efkan
  • 12,991
  • 6
  • 73
  • 106
0
votes
0 answers

Issue in Reading data from already created device under iio for st_lsm6dsox for step count

I have already enabled driver for st_lsm6dsox embedded features which created 9 devices with accel and gyro , magnetometer raw data along with step count and tilt detection features .I can read raw data from accel and gyro raw data but couldnt read…
0
votes
0 answers

How to add lines on camera surface in iOS using motion sensor?

I want to achieve same thing in IOS with motion sensor. Please refer the video: Video (https://drive.google.com/drive/folders/1qwDemEvX4ureeVXW4A1c0BcH_MVeN7U3 ) want to achieve same which is showing in video. I have tried with accelerometer data…
0
votes
0 answers

I am trying to capture still images from RTSP feed in Python; however the image keeps 'hanging/freezing'

So I've been scouring GitHub looking for answers but haven't yet found the solution, so I will be grateful for any help! I am trying to make a DIY trail camera; and I have an IP camera providing me an RTSP feed, I want to capture this feed and take…
0
votes
1 answer

onTrigger method of triggereventlistner is not called even after significant motion in android

An significant motion sensor is registered with triggereventlistener using requestTriggerSensor method of sensormanager. The onTrigger method of the triggereventlistener is called only once and after sometime even when there is significant motion…
0
votes
1 answer

What is the correct way to implement Significant Motion Sensor?

I placed Significant Motion Sensor code from https://developer.android.com/guide/topics/sensors/sensors_motion#sensors-motion-significant in my activity. But the app crashes as soon as it is launched. What is the correct way to implement Significant…
Al117
  • 55
  • 1
  • 8