meta keyboard key in Windows 10 - android

I use a Mac at office and a Windows OS at home, as it is common I am really getting confused with the use of two different Keymap shortcuts.
So I am trying to change my windows keyboard so to mimick an Ios keyboard.
Outside the specific use of a software as hotkeysto change the keyboard map, my problem is that the windows key is not recognized as meta.
According to different posts and the intelliJ blog/issue, I can make windows key as meta (mac os) adding in File idea.proprieties the string :
keymap.windows.as.meta=true
Well does not work, when I put this string in IntelliJ and restart AS, meta is not recognized in fact if I try to change some shortcuts windows+ some letter, the IDE recognizes only that I pressed the hardware button `Windows, making impossible to use Mac OS keywords really useful and simple as Copy, Paste, Cut.

Related

Android Studio commands not working on Mac

After upgrading MacOS and Android Studio, a lot of the menu and shortcut commands I rely on no longer work. For example Shift-F6 for renaming vars (I tried from the menu and shortcut). Also, things like Cmd-Shift-o to search a list of files. I would expect equivalent menu options to work, but they don't.
Here's my setup:
Android Studio Dolphin | 2021.3.1 Patch 1
Mac Ventura 13.1
Preferences -> Keymap is set to MacOS.
I use an external Logitech Bluetooth keyboard.
I'm a longtime AS user and I have a second, nearly identical setup, with an external keyboard, on another computer, which all works fine.
I've tried all the usual stuff like rebooting and invalidating caches.
I tried reinstalling AS, just the app, not all the settings files, etc.
Before I try to completely wipe out AS, which I'm not sure will work either, I would be very grateful for any suggestions.
You should also press fn button if you have one on your keyboard.
Or try to turn it off:
Choose Apple menu  > System Settings.
Click Keyboard in the
sidebar.
Click the Keyboard Shortcuts button on the right.
Click
Function Keys in the sidebar.
Turn on “Use F1, F2, etc. keys as
standard function keys”.
Seemed like AS needed a total reset. I found this SO posting.
To restore the AS default settings:
File> Manage IDE settings> Restore defaultsettings
This fixed key mappings that didn't include the FN keys. To get those to work I had to toggle the FN lock button on my keyboard. That button does not turn FN keys on/off, but switches them between different mappings.

Cannot change language through the Android emulator physical keyboard

I have setup an Android API 30 emulator (from Android Studio), where I have installed two physical keyboard layouts. According to the system, I should be able to switch languages via Control+space. But that does not work.
I've tried:
Changing the "send keyboard shortcuts" to "virtual device" - effectively disables multi-touch but that's it.
Installed tons of different apps (including Hackers Keyboard) but saw no difference at all - seems they only work for the soft keyboard
I tried changing the kcm keyboard file from open source projects (and it worked well for changing e.g. "a" to "9") but I could not make for instance Shift+space to execute a language switch fallback
I even tried to write apps but I am not sure where to start (and from my experience with the other apps I tried, I am not sure if this will work at all)
Any ideas what else I can do?
I ended up using Android x86. The control+space works there just fine.

automaticlly changing programming input language when Android Studio is the visual window

When developig in Android studio I often switch windows to Whatsapp, facebook and other none programming related applications / websites. When I am in these none related language I often switch to my native language for typing. When going back to the IDE, I forget that I switched language.
Is there a way to configure that when the visual window is Android studio my input language will always be English automatically? I am using Windows OS if that matters by any reason.
You have an option in Windows for setting different input language on different apps.
You have to go in Control panel > Clock, Language, and Region > Language > Advanced Settings. Then check ‘Let me set a different input method for each app window’ on ‘Switching input methods’ section.
The procedure is explained here : https://www.addictivetips.com/windows-tips/how-to-set-language-on-a-per-app-basis-in-windows-10/

How can I write "#" (at) in android emulator?

If I try to use altgr+v (#) in an android emulator's editText, I cannot write the "#" sign.
The altgr is the 2 finger gesture (zoom) by default.
Any other shortcuts or some solution for this?
As it can be seen and pointed out in below screen
Take your mouse and click at the pointed area you will find new keyboard option and done
You can use your hardware keyboard that is attached with your computer or laptop. To use your hardware keyboard follow below steps
Open AVD manager
Go to edit option of your desire virtual device
Select Show Advance setting button
At the bottom you will find enable keyboard option mark that option check
It's still open bug in Google issue tracker from 2017 🤷‍♂️ https://issuetracker.google.com/issues/37142228
This is an old question but still a valid one, since i suffered from that too recently.
Is not possible to type "#" using a keyboard with a language that requires to use Option+Q or Option+2 in Mac, or AltGr+Q in windows, the emulator does not accept the use of Option nor AltGr keys
the solution is to change the language of keyboard to english ABC so the # is accesible with Shift+2, in other languages, the number 2 has (") but in english ABC the number 2 has the (#) when you use shift.
Go to settings and change the configuration of your keyboard, in Mac you can just click in the keyboard icon showed in the top bar

For Emacs, long journey for using CTRL key in Android

I need some help with Emacs. I'm running the Ubuntu in Froyo (Android 2.2) and connect with Android VNC Viewer.
But in Android VNC Viewer, it is hard to use CTRL, ALT, left mouse, and right mouse buttons
so I made several experiments.
I tried to modify /system/usr/keylayout/eve_qwerty.kl (since my phone is gw620-eve), but I can't remap the volume button to CTRL key, though I can remap the volume button to ALT key
key 114 VOLUME_DOWN WAKE -> key 114 ALT_LEFT
I also tried changing eve_qwerty.kcm.bin file as well
Is there any special name for CTRL as like ALT_LEFT? I can't remap with CTRL_LEFT or CONTROL?
Could somebody let me know ASCII code of CTRL? Or could somebody let me know how to apply this (http://developer.android.com/reference/android/view/KeyEvent.html) useful reference to my work?
There is no support for the CTRL key until Android 3.0.
A related question at Stack Overflow is Capture all Ctrl-? under Android.
For what you were trying to do on Android, there are External Keyboard Helper Pro app for physical keyboards, or the virtual Hacker's Keyboard with Ctrl, etc. keys. A resistive or capacitive stylus could be useful with the full virtual keyboard in portrait mode if using a phone and the keys are small.
See also the EmacsWiki section Emacs on Android, with a recent first Emacs port to Android, etc.

Categories

Resources