Closed DuFF14 closed 6 years ago
Also have to test merging the project settings. Don't want to set defaults to android and accidentally make something suboptimal on Windows. It might be time to add a tool to the editor for setting up project settings for a given platform.
Latest updates removes the need for an AndroidManifest, and doesn't require any special package naming.
included in https://github.com/OSVR/OSVR-Unity/pull/237
This PR enables extended mode RenderManager path on Android. There is a java library called OsvrAndroidJNI.jar as well as .so files from OSVR-Android-build. The libraries usually aren't included in this plugin but I've left them in the PR until CI build issues are resolved.
The Android project that produces OsvrAndroidJNI.jar will be open sourced before this is merged.
AndroidManifest is included. Still have some testing to do regarding package naming in the manifest, java library. It's working when building with API 21 and should work with later versions, but more testing needs to be done there as well.
Server autostart is enabled. The only manual step for now is to add a server config file to /internal storage/osvr or /sdcard/osvr/
Sample config file for Galaxy S6: https://gist.github.com/DuFF14/063cac8eb77424d80ed19f3beb2bc53f