GearVRf icon indicating copy to clipboard operation
GearVRf copied to clipboard

Accessing oculus platform sdk methods from GearVRf?

Open channae opened this issue 7 years ago • 2 comments

I'm working on a project based on GearVRf on Android Studio. This requires to access certain methods in oculus platform sdk such as identifying the logged in oculus user.

Additionally I'm interested in integrating following functionalities based on oculus sdk: Coordinated App Launch (CAL), Matchmaking and pools, Parties, Rooms, User and Friends, Peer to Peer Networking. However oculus documentation only contain instructions to access these methods using native (c/c++) and unity. I couldn't find Samsung GearVRf documentations related to this specific area. How can we access these methods from GearVRf? Thanks in advance.

channae avatar Aug 01 '17 12:08 channae

@channae

That's a great many features you want to support. As c/c++, more likely you have to write JNI code to interface these c/c++ functions from Java

Edit: For some features, Android has platform native options for you. I.e., Peer to Peer Networking https://developer.android.com/guide/topics/connectivity/wifip2p.html

bohuang3d avatar Aug 01 '17 17:08 bohuang3d

@channae All we currently have is the entitlement check. See https://github.com/Samsung/GearVRf/tree/master/GVRf/Extensions/platformsdk_support. Maybe what we have will give you a base to which you could add at least some of these additional features?

liaxim avatar Aug 01 '17 18:08 liaxim