cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with calling ovr_User_GetLoggedInUser() from Android Studio

channae
Honored Guest
Hi, 

I want to get the logged in user from my GearVRf based android studio application. I downloaded Oculus Platform SDK 1.16 and noticed only libovrplatformloader.so and .h files are available in it. Copied the armeabi-v7a and it's content to jniLibs and tried calling native ovr_User_GetLoggedInUser() from android studio project. However the method does not resolve and according to the android studio, method is looking for it's declaration within my android studio project's package. Seems like I can't use JNI since compiled libovrplatformloader.so's JNI methods does not contain any information about my android studio project. Am I doing this wrong? Appreciate your input regarding this.

Thanks,   
1 REPLY 1

channae
Honored Guest
Hi, 

Are there any documentation available which explains setting up framework? If so, could you please point me to it.

Thanks,