title: How can I get sensor data into Unity while using Google Cardboard?
body: <p>I have the basic Google Cardboard Unity application loaded and working great.  </p>
  
  <p>I want to utilize a few sensors on my phone that aren't available in Unity.  For example, I want to get access to the STEP_DETECTOR sensor.</p>
  
  <p>I created my own UnityPlayerActivity, and without Cardboard, it seems to work well.  My problem is that I have no idea how to use my custom UnityPlayerActivity WITH cardboard. </p>
  
  <p>From what I can tell, the cardboard demo uses a "UnityCardboardActivity" class as the main activity.  I took a look at UnityCardboardActivity.jar and it looks like the UnityCardboardActivity class inherits from CardboardActivity, NOT UnityActivity.</p>
  
  <p>So my guess is that UnityCardboardActivity is manually starting the default UnityPlayerActivity somewhere in its code, but I can't change that to start my own custom UnityPlayerActivity in any way that I can tell.  </p>
  
  <p>Is there any way to get that sensor data without using a UnityPlayerActivity?</p>
  
  <p>I tried making my activity extend UnityCardboardActivity instead, but for some reason I don't have access to the "getSystemService" method when do that, so I can't get access to any sensors.</p>