Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Step Detection Not Working #57

Open
ashu-knock opened this issue Jan 19, 2021 · 1 comment
Open

Step Detection Not Working #57

ashu-knock opened this issue Jan 19, 2021 · 1 comment

Comments

@ashu-knock
Copy link

Hi, Thank you so much for this library. Although Step Detection is Not Working. I'm not sure if I'm doing something wrong.

Below is the code:

  private val stepListener =
        StepListener { noOfSteps, distanceInMeter, stepActivityType ->
        Log.d(TAG,"$noOfSteps ")
}

 override fun onCreate(savedInstanceState: Bundle?) {
     super.onCreate(savedInstanceState)
     Sensey.getInstance().startStepDetection(this, stepListener, StepDetectorUtil.MALE)
}
  • Device Information: : OnePlus 6T

  • Android Version: 10

@nisrulz
Copy link
Owner

nisrulz commented Jan 20, 2021

I will take a look. It should. I tested this on multiple devices i.e Samsung, Asus, Xiaomi.

In the meantime, if you have access to other devices, can you confirm it doesn't work for you on those also. I want to make sure it is not something isolated to say OnePlus. (I don't have OnePlus device, but I can figure out something for working with it if it is isolated to this particular brand)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants