Skip to content

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

License

Notifications You must be signed in to change notification settings

apportable/OrientationTest

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published