apportable / OrientationTest

Demonstration of accessing android.provider.Settings.System from Objective-C

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Demonstration of bridging to Java from Objective-C to respect device orientation lock setting via Apportable Android

Details

Use when adapting Objective-C applications for execution on Android especially when original Objective-C application supports arbitrary orientation.

Fetches "is screen rotation locked" value from android.provider.Settings.System. For demonstration purposes, every 5 or so turns it will honor the rotation setting, then for another 5 it won't.

Requirements

About

Demonstration of accessing android.provider.Settings.System from Objective-C

License:MIT License


Languages

Language:Objective-C 95.2%Language:Java 4.8%