예제 #1
0
        public override void OnCreate()
        {
            base.OnCreate();

            _speech = new TextToSpeech(this, this);

            _orientationManager = new OrientationManager(
                this.getSensorManager(),
                this.getLocationManager());

            _landmarks = new Landmarks(AndroidResourceReader.read(this, Resource.Raw.landmarks));
        }
예제 #2
0
        public override void OnDestroy()
        {
            _speech.Shutdown();

            _orientationManager = null;
            _landmarks = null;

            base.OnDestroy();
        }