I try to code an application with C++/Qt which runs on Windows, Mac, Chrome OS ...
On my ChromeBook, the Right Click (to show the default context menus on lineEdits (copy/paste...) or to show custom context menus) does have the same comportment than the Left Click, so I have not the capacity to show any context menu.
I've tried 3 ways for the Right Click :
The 2 taps on the trackpad
The "Alt" + Click on the trackpad combo
The Mouse connected via USB, right click
Each way produce a Left Click on my application, where, on other "official" apps (Google Chrome explorer for example), the Right Click is correct.
Asus C433T ChromeBook Chrome OS version 93.0
Qt 5.15.2 Qt Creator 5.0.2 build for compileSdkVersion 29 - archi x86 - JDK 14.0.1 - NDK 21.3
Note : my ChromeBook has a touchscreen
How to achieve the correct right click behaviour in my application?
Related
I've just update my Android Studio together with the Android Emulator to the newest version. After I click "run" in my project and selected my emulator, it boots up like normal. However, when the app pops up, I can hear some strange noise produced. I've made sure that I didn't set the app to play any sound. Link to the strange noise
Android Emulator: Galaxy Nexus API 27
Android Studio Version: 3.0.1
Turn off Touch Sounds on the Android device/emulator.
You can find it under Settings -> Sound & notification -> Other sounds -> Touch sounds
That sound was actually the notification sound of the emulator. Since my app is in landscape mode, it needed me to configure the keyboard in landscape mode. So the notification came out.
On Android 10/11/12 emulators, this odd "sparkle" sound happens when rotating the device to landscape or portrait. Here's how to turn it off:
Launch your Android 10 or 11 emulator (API 29 or 30)
Drag and pull down the notification bar at the top (screenshot A)
You should see a "Configure physical keyboard" notification from the status bar. Drag it to the right slowly and by a small amount, to reveal the settings cog icon ️️⚙️ (screenshot B)
Press the Settings cog icon ⚙️ to reveal the expanded options (screenshot C)
Click on "Silent - No sound or vibration", then click "Apply/Done"
Optional: If a "Configure physical keyboard" notification still appears, swipe it to the right, to remove it.
Another way - Android 10/11
On the Home screen, swipe up to reveal all the apps
Settings ➔ Apps & Notifications ➔ Notifications ➔ Android System ➔ Physical Keyboard (and/or Virtual Keyboard) ➔ Switch it off or click it and set it to Silent.
Another way - Android 12 (API 31)
On the Home screen, swipe up to reveal all the apps
Settings ➔ Notifications ➔ App Settings ➔ Click the '3 dots' menu at the top ➔ Show System (to reveal system apps in the list) ➔ Android System ➔ Physical Keyboard (and/or Virtual Keyboard) ➔ Switch it off or click it and set it to Silent.
Now there are no more annoying noises when changing the emulator's orientation.
Try using emulators, like genymotion or bluestacks. They are pretty good. On the other side, in my experience, Android Studio emulators are very slow and buggy.
It can be due to multiple reasons:
One of the reason is
If you turn your laptop Bluetooth ON. If that is the case, turn Bluetooth off and restart the emulator.
I'm using Android Studio 1.5.1. Emulator API 19 (4.4.2) works in Windows 7 x64. I want screen off to test my app. To do it I press F7, but screen is on as before. Also power button (right side of emulator windows) and volume up/down buttons (left side) don't work. How can I turn off the emulator's screen?
It seems that default shortcut for power button has changed from F7 to Ctrl+P.
Please note that by default emulator does not have any screen lock set.
Trying to use the AVD in Eclipse Kepler on Windows 7 Pro.
Nexus 7 2012 with the Level 19 (4.4.2) APIs and the Intel Atom processor.
Every listview, once scrolled down, immediately scrolls to the bottom and stays there. I can start to drag the list back towards the top, but as soon as I let up on the mouse button, it bounces back to the bottom of the list. This is for ANY list - system settings, app listings, etc., as well as my custom coded HTML5 app.
Has anybody ever seen that before? A Google search turned up nothing useful...
-Paul-
To solve this issue follow the steps below:
Click on virtual device manager and then select the AVD that you are using.
Now, click on edit and choose CPU/ABI as ARM.
Click ok and and run your project again. The scroll view will work properly.
I had the same issue - solved it by changing the Virtual Device to use ARM CPU instead of Intel Atom
(Change under Run -> Run Configurations -> Target -> Your virtual device -> Manager.. -> Your device -> Edit... -> CPU/ABI: Change to ARM)
In Android Device chooser, it shows AVD name: N/A , Target: unknown , state: offline.
Any idea? I'm using the latest Eclipse and ADT. HTC is running on android 4.3.
If the devices tab isn't showing, Window > Show View > Other, then select Devices from the list.
Go to the Devices tab, above the top right of the tab pane is a downward triangle button (with a View Menu tooltip), at the bottom of its menu is Reset adb.
I cannot get an Android Virtual Device to launch on my Surface Pro. I have had no problems on Windows XP, 7, or OS X.
I have tried launching from the AVD Manager, it opens the option dialog and when I select launch it acts like it is working, however the emulator never shows up.
When I select Run As Android Application from a project it acts like it is starting, once again nothing ever shows up.
Either way I get no error messages in the console.
I have tried disabling UAC.
Thanks for your help.
Right-click the program's icon and choose Properties.
When the Properties dialog box appears, click the Compatibility tab and then click the Run Compatibility Troubleshooter button.
Windows 8 tries to guess what version of Windows your program needs, and then it applies the changes. If the program begins working, you're through.
If the program still has trouble, though, move to Step 3.
In the Compatibility Mode section, select the Run This Program in Compatibility Mode For check box and select the program's desired Windows version from the drop-down list.
http://www.reddit.com/r/Surface/comments/1ael60/surface_pro_and_dj_software_also_android/
Please refer to my question and answer here:
< Android Emulator and AVD will not run on Surface Pro >
As it turns out you can run the Android Emulator and AVD on the Microsoft Windows 8 Surface Pro.
You will need to rollback the graphic drivers:
< http://answers.microsoft.com/en-us/windows/forum/windows_8-hardware/latest-graphics-driver-update-makes-bluestacks/1f67d99f-3626-4110-aa22-773856b226cb > Method 1: I would suggest you to roll back to the previous driver.
a) Press Windows key + X on the keyboard.
b) Click Device Manager.
c) Double-click on Display Adapters.
d) Double-click on your Graphic Card Drivers
e) Select the Driver Tab
f) Click on Roll Back Driver.
I still recommend using Bluestacks as an alternative method for Android Emulation.