react-google-maps api onRightclick event not working on Macbook touchpad - react-google-maps

I just started using React Google Maps API https://react-google-maps-api-docs.netlify.app/#marker, and I noticed that the onRightClick props or event is not fired when using Macbook trackpad on browsers that use Webkit specifically (Chrome, Opera, Safari). I noticed this issue in the Marker component https://react-google-maps-api-docs.netlify.app/#marker and GoogleMap component https://react-google-maps-api-docs.netlify.app/#googlemap. Please, did you face a similar problem? If yes, how did you solve it?

Related

Pass mouse events to applications behind a transparent Java UI in macOS Ventura

I have an application that works as a screen capture. It is built using Java and works well. I am aware of the JDK bug that doesn't allow to pass mouse events behind a transparent Java UI so we implemented a native library to serve as a workaround. This library is written in Objective C/C++ and involves the NSWindows setIgnoresMouseEvent which is integrated via JNI. However upon the availability of macOS Ventura, our app started to be sluggish and it turns out this is due to the setIgnoresMouseEvents. Is anyone aware if there is an issue with the API or AppKit behind NSWindows in which the API is related? Thank you in advance.

Hololens 1 does not detect air tap or other gestures in MRTK scene

I am currently working on developing an application for the Hololens 1 using Unity and MRTK.
I have been unable to get the air tap or any other input working in my application. The ring pointer for airtap does not appear in the application even though it works in the Unity Play Mode Input Simulation and other applications on the device. I tried it with the MRTK examples and even those did not work on the device.
Also I had to add the Tracked Pose Driver from the Player Settings to get the camera working properly but have not figured out how to get the application to accept gesture input.
Also tried the solution listed here: Why is 'air tap' gesture not working on HoloLens1 in my Unity/MRTK app?
but that did not work.
Will appreciate any guidance to solve this problem.
I finally got my project working after a lot of trying.
It turned out that initially, I had unknowingly configured the project to use XR SDK in Unity 2019 and thus had to configure MRTK accordingly. Thank you to Kevleigh for helping me with the issue here: https://github.com/microsoft/MixedRealityToolkit-Unity/issues/7850
While this did work for my example project, I couldn't get the main project to work with the same settings even after installing all the plugins.
Finally, I had to switch to Unity 2018 and I got the project working with MRTK 2.3 and the default configuration. So, while Unity 2019 did not work for me you can get it working with XR SDK as suggested in the above link.

detect if the current browser supports Unity 3D webplayer

I'm looking for a script that will detect if the current browser supports Unity3D's WebPlayer?
I've tried using progress.pluginStatus to detect the state "unsupported" but it never returns anything, it doesn't work. Any ideas?
Unity WebPlayer depends on NPAPI to run on Web Browsers. Chrome has removed NPAPI few years ago.
Firefox will remove NPAPI by the end of 2016. This will decrease your audience by more than 70 percent.
To make it worse, WebPlayer is now removed from Unity 5.4 and above.
Use WebGL. Unity supports build for WebGL and it runs on most used Browsers.
Now, to answer your question, there is no API to detect if NPAPI is enabled or not. The trick to do this is to check the version of the Web Browser. This you can use to determine if that version of browser supports NPAPI or not.
So, you have to do a reserach yourself and find out which web broswer version for each web browser disabled NPAPI.

Access mobile device camera from a grails application using jquery mobile

I have a grails application using jquery mobile. I am hoping to find some way to access the camera on the devices. I thought about using flash to grab the webcam but that obviously wont work on Apple devices.
Does anyone know of a way to do it and keep it all browser based? I am hoping that there is a plugin somewhere or maybe html5 has some magic in there that supports it.
I have researched this quite a bit (although about six months ago) and there is no API in the Mobile Safari browser for accessing a device's camera.
You have to have a native application for this type of functionality. For instance PhoneGap lets you use a device's camera: http://docs.phonegap.com/en/1.4.1/phonegap_media_capture_capture.md.html#Capture

Using the Camera OK button

I have written an app that allows the user to take a photo with the camera capture some other information then attach the photo to an email and send it. But on the Motorola Droid the camera is started but the OK button will not return control to my application. The cancel button is the action that will return control to my app, even the back button does not work either.
Is it more likely that this is a hardware or software problem and does anyone have any suggestions on how to debug and or solve this problem.
Thanks,
If you are using an Intent, this may be the source of the problem. If you are using the API, I would make sure your layout is correct.
It would be helpful to know which level of the Android API you are targeting and which version of Android the Motorola Droid is running. Have you tested this on other devices? In the emulator?