Translate

2017년 5월 2일 화요일

Android Studio screenOrientation 고정 상태에서 360˚ 회전 감지하기


Laptop 운영체제Windows 10 Home 64bit 개발프로그램Android Studio 2.3.1 (buildToolsVersion "25.0.2") 프로젝트명OrientationTest Mobile 모델DOOGEE X5 운영체제Android 5.1 Lollipop screenOrientation 을 고정한 상태에서 회전을 감지해야 할 필요가 있을 수 있다. 이 때  OrientationEventListener라는 핸들러를 이용하여 방향센서의...