//        // Get detection requester object
//        mDetectionRequester = new DetectionRequester(this);
//
//        PowerManager pm = (PowerManager) getSystemService(POWER_SERVICE);
//        PowerManager.WakeLock lock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "SensorRead");
//        //if ((lock != null) &&           // we have a WakeLock
//        //	    (lock.isHeld() == false)) {  // but we don't hold it
//        lock.acquire(); //Never release!
//        //	}
//    }
//
//
//    /*
//     * Handle results returned to this Activity by other Activities started with
//     * startActivityForResult(). In particular, the method onConnectionFailed() in