Android step counter
问题 I am trying to make a simple Android application to count steps. When I run the application the else is called in the onResume method meaning it did not find the sensor. I am testing on a 2016 Samsung J3 running Api 22. I am wondering is the problem in my code or is it that the phone does not have the sensor. If it is the phone is there a workaround for it? public class MainActivity extends AppCompatActivity implements SensorEventListener { private TextView counterTextView; private