Closed talk2saroj closed 5 years ago
@talk2saroj Which version are you using? The 4.0 release or the snapshots from master?
I am using 4.0.1-Snapshot
On Mon 15 Oct, 2018, 10:02 PM Mihail, notifications@github.com wrote:
@talk2saroj https://github.com/talk2saroj Which version are you using? The 4.0 release or the snapshots from master?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Samsung/GearVRf/issues/2000#issuecomment-429923602, or mute the thread https://github.com/notifications/unsubscribe-auth/Ao9w89m08aoIfF9Ys2GTgqCRiQkIW37Uks5ulLiPgaJpZM4Xb8Kr .
Can you share the stack trace? Thanks.
The snapshots were somewhat outdated (last uploaded mid-Sep). At the end of Sep we made a change to support better controller multiple key presses. I just updated the snapshots. Please try again.
Can you share the stack trace? Thanks. Hi,please find the stack trace here. gearvrf_logs.txt
Hi ,thank you very much for quick response. I tried refreshing the dependencies and got the following error and its making sense.Since, the new library has updated the abstract method's signature,and I am using the previous signature.
s not abstract and does not override abstract method onControllerEvent(CONTROLLER_KEYS[],Vector3f,Quaternionf,PointF,boolean,Vector3f,Vector3f) in IActivityEvents { ^ E:\SureLock_VR\GVRFApplication\app\src\main\java\com\example\org\gvrfapplication\HomeScreenActivity.java:122: error: method does not override or implement a method from a supertype @Override ^
But still inside the code, i am getting the previous abstract method to override, but not the new one. Am i missing something.Please update.
The following is the signature for previous abstract method...
void onControllerEvent(GVRGearCursorController.CONTROLLER_KEYS key, Vector3f position, Quaternionf orientation, PointF touchpadPoint, boolean touched, Vector3f angularAcceleration, Vector3f angularVelocity);
Something must be cached somewhere. Try deleting manually the gradle cache -
Hi,after deleting the cache,it started working.But on press of any button,nothing is happening. How to define particular action for each button,Please let me know. Thank you
On Tue 16 Oct, 2018, 9:41 PM Mihail, notifications@github.com wrote:
Something must be cached somewhere. Try deleting manually the gradle cache
- /.gradle/caches/.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Samsung/GearVRf/issues/2000#issuecomment-430298913, or mute the thread https://github.com/notifications/unsubscribe-auth/Ao9w81f7CDsMmV1BsbmFl8DYVVhdGlMvks5ulgUUgaJpZM4Xb8Kr .
@talk2saroj Even single key presses do not work? For any key? Unfortunately I don't have an Oculus Go handy so I am afraid there will be a lot of back and forth.
Sorry, not all but Button_A and Button_Back press is not working. Button_Enter is working.On double tap of Button_Enter, it s performing click operation. Home button is working fine.But for this Home button, no callback is coming.
Earlier single tap only on Button_Enter was performing click operation,but now it is happening on double tap.
On Tue, Oct 16, 2018 at 11:26 PM Mihail notifications@github.com wrote:
@talk2saroj https://github.com/talk2saroj Even single key presses do not work? For any key? Unfortunately I don't have an Oculus Go handy so I am afraid there will be a lot of back and forth.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Samsung/GearVRf/issues/2000#issuecomment-430334588, or mute the thread https://github.com/notifications/unsubscribe-auth/Ao9w8wZA0icOdi9mBsOOTtofjHCQ3Y8Mks5ulh2ygaJpZM4Xb8Kr .
For time being, can you please share me the library which you released at the end of Sep with better controller multiple key presses. Thanks.
Prior to the change at the end of Sep there was no support for multiple key presses at the same time. Hence the crash you saw before you got the latest snapshots. There is some key mapping problem probably with the Oculus Go controller. I am investigating.
@talk2saroj Let's get the terminology straight:
What do you call Button_A, Button_Enter, etc?
Button_Home is handled by the system.
Button_A is Button.PrimaryIndexTrigger and Button_Enter is Button.PrimaryTouchPad.These names come from the gearvrf library.
On Wed 17 Oct, 2018, 11:54 PM Mihail, notifications@github.com wrote:
@talk2saroj https://github.com/talk2saroj Let's get the terminology straight:
[image: image] https://user-images.githubusercontent.com/11889541/47107688-cada4280-d1fe-11e8-9ac0-54580247ead4.png
What do you call Button_A, Button_Enter, etc?
Button_Home is handled by the system.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Samsung/GearVRf/issues/2000#issuecomment-430736398, or mute the thread https://github.com/notifications/unsubscribe-auth/Ao9w89T_X2_idXTxzlt0NIgmwiFoeHMMks5ul3XogaJpZM4Xb8Kr .
Ok.. So you are saying that the onControllerEvent callback never gets the keycodes for Button_A or Button_Back? Does it get any other keycode instead?
This is the callback for controller buttons.
**@Override public void onControllerEvent(GVRGearCursorController.CONTROLLER_KEYS[] keys, Vector3f position, Quaternionf orientation, PointF touchpadPoint, boolean touched, Vector3f angularAcceleration, Vector3f angularVelocity) { if(keys!=null) { Logger.logInfo("Keys pressed are:"+keys);
}
}**
When I am pressing Button_A, the callback is coming but in the keys,it is saying "All elements are null". And when I press Back Button, the callback is coming and the key contains the Button_back , but, activity is not going back. And for Button_Enter,the callback is coming and the key contains Button_Enter,but the click is happening on double tap,not on single tap.
Button_A has a different key code on Oculus Go. Easy enough to remap that. The back key is a special case: while the key is mapped correctly it is not routed the same as on a phone. Will need to come up with a way to detect and handle Oculus Go specifically.
Button_Enter works for me as expected when it comes to tapping it. Is there any of our demo apps that shows the double tap problem you've described? Thanks.
you can try with this project-GearVRf-Demos-master\gvr-videoplayer .Actually,I am not able to run this project after updating to the library you shared because of some errors.But, in my project, I am facing the issue of double tap with this library.
Ok, what I am seeing is that the Android events we generate to feed to the Android views (which gvr-videoplayer heavily uses) are not quite right hence the double-clicks or no clicks behavior.
I came across some other vr app by Samsung named as Samsung VR with package name "com.samsung.vrvideo" which is working fine. All the touch and click events are working properly.Do you have any idea which library they might be using. If you have some other version of library where these issues are fixed,Please share with me. Thanks.
We are looking into the issue and will have a fix in few days. Samsung VR is using something else. If you insist I can give you the commit id off which to build the framework for yourself. But it is going to be crashing on multiple key presses. You could patch that up.
Ok,I can wait for the fix. Thank you very much for the continuous support.
On Thu, Oct 25, 2018 at 5:34 AM Mihail notifications@github.com wrote:
We are looking into the issue and will have a fix in few days. Samsung VR is using something else. If you insist I can give you the commit id off which to build the framework for yourself. But it is going to be crashing on multiple key presses. You could patch that up.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Samsung/GearVRf/issues/2000#issuecomment-432868336, or mute the thread https://github.com/notifications/unsubscribe-auth/Ao9w816CRQX1RtOlgHUcsUsrGAyu-eL6ks5uoQAWgaJpZM4Xb8Kr .
Back key works if compiled with Oculus Mobile SDK 1.12. Doesn't work with 1.18. Oculus Go requires 1.14+.
@talk2saroj Back and trigger key handling should be fixed. Uploaded new snapshots. Double-tapping under investigation still.
@talk2saroj It would be great if you could provide feedback and maybe open a new issue in case you experience some problem.
Hi, Thank you very much for providing me the fix for this.My issue has been resolved and you can close it. Thank you once again.
On Tue 18 Dec, 2018, 9:29 PM Mihail <notifications@github.com wrote:
@talk2saroj https://github.com/talk2saroj It would be great if you could provide feedback and maybe open a new issue in case you experience some problem.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Samsung/GearVRf/issues/2000#issuecomment-448271098, or mute the thread https://github.com/notifications/unsubscribe-auth/Ao9w8zo2qx1Wk5AVQfVM3Ql_M_fL0V9iks5u6RDzgaJpZM4Xb8Kr .
How to fix this issue.What is the current version for org.gearvrf:framework