Click here to Skip to main content
15,912,400 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
What does ' private boolean theRegisteredSensor; ' in this code means? What is it for? Thanks for the help in advance.


public class TestSensorsDraft extends Activity implements SensorEventListener {
    private boolean theRegisteredSensor;
    private SensorManager theSensorManager;
Posted

It declares a boolean variable called theRegisteredSensor.

What's it used for? There's no way to tell given the code snippet you posted. About the only thing anyone can tell you is that it holds a True/False value.
 
Share this answer
 
What is the True/False value for?
 
Share this answer
 
Comments
JF2015 28-Nov-10 5:38am    
Nobody can tell you this with this small piece of code. Show us the complete code and we might be able to tell you more.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900