Esempio n. 1
0
        protected override void OnResume()
        {
            NowOriantation = DetectScreenOrientation();

            m_Camera = AndroidCamera.Open();
            m_Camera.SetAutoFocusMoveCallback(this);

            // 写真のサイズを画面サイズの4倍(縦横2倍)に設定
            var param = m_Camera.GetParameters();

            param.SetPictureSize(DisplayHeight * 2, DisplayWidth * 2);
            m_Camera.SetParameters(param);

            m_LocationManager.RequestLocationUpdates(LocationManager.GpsProvider,
                                                     1,
                                                     0,
                                                     this);
            base.OnResume();
        }