Android 獲取鎖定屏幕系統設置方法

int ar = Settings.System.getInt(context.getContentResolver(),
        Settings.System.ACCELEROMETER_ROTATION, 0);

ar:0 屏幕方向鎖定get

ar: 1 屏幕方向未鎖定co

相關文章
相關標籤/搜索