Is there a way to set up hot keys for the keyboard to open specific apps?
What do you mean by hot keys?
Yes, there is a way to do this in combination with the menu key. It comes with the phone where you can press menu+key and do certain things...I've found it before, but I can't seem to do so now.
go to settings>aplications>quick launch
ex:a set to alarm
press and hold search button on keyboard a
vala alarm open.
feel free to hit thanks lol
I would rather make my own hotkeys. Ex. MENU + ENTER completes a url, MENU + W turns WiFi on or off, etc.
Sent from my DROID3 using XDA App
Exactly, i want to be able to configure certain combinations of keys to open specific apps is that possible?
Sent from my XT860 using XDA App
aznproto said:
Exactly, i want to be able to configure certain combinations of keys to open specific apps is that possible?
Sent from my XT860 using XDA App
Click to expand...
Click to collapse
Yes, through the above method in the applications sub-menu. Search hard key plus a letter or number key of choice boots an app. For me...
search+...
b = browser
h = handcent
l = flashlight
t = twitter
f = facebook
c = camera
p = poweramp
s = screenshot
y = youtube
Since I function on a 3rd grade level, mine all match up with what they do.
Related
Someone tried to use some of the special hardware keyboardbuttons in the lower left corner of the keyboard to copy / paste ?
Can one of the keys used as a STRG key in combination with C and V when entering text ?
Greets !
bump
Im interested in this as well, anyone have any ideas?
this is windows, use ctrl+c and ctrl+v
you can set the key to open a context menu, then choose cut/copy/paste
this is windows, use ctrl+c and ctrl+v
Click to expand...
Click to collapse
That is the point, how do we get a "ctrl"-key assigned? The "strg"-key fotoingo mentioned is the German "ctrl"-key. Any suggestions?
i dont think CTRL + C works?
Nocturnal310 said:
i dont think CTRL + C works?
Click to expand...
Click to collapse
on the onscreen qwerty works perfect.
Yes, CTRL+C/V/X works with hardware keyboard. All you need is a software to map some of the key on your HW keyboard to CTRL function. I would recommend X1BC (use search on this forum)
Is it possible to set the Fn key + C / V / X to copy / paste / cut?
with AE Button plus you can set it up. eg you can map that weird au button so that single click = cut, double click = copy, and triple click = paste. Lots of other ways you can do it too, using other keys on the hard keyboard.
ring-bearer said:
with AE Button plus you can set it up. eg you can map that weird au button so that single click = cut, double click = copy, and triple click = paste. Lots of other ways you can do it too, using other keys on the hard keyboard.
Click to expand...
Click to collapse
That's exactly how I use it, works great!
Also would the original poster care to take this solution and edit his first post with it. It's harder for others to scroll than to edit your first post.
Thanks
X1BC will help you, i tested it and worked fine!
Software url:
http://forum.xda-developers.com/showthread.php?t=468007&highlight=X1BC
Step:
1. Install X1BC
2. Change the registry:
"LongKeyTimeout" = 2000
"TabCtrlMode" = 2
3. Put X1BC.lnk into the startup folder, restart your X1
Tab + A (Select All)
Tab + Z (Undo)
Tab + X (Cut)
Tab + C (Copy)
Tab + V (Paste)
-------------------------
HKCU\SOFTWARE\JKing\X1BC\TabCtrlMode
Here are the possible choices:
0 - Do not use as ctrl
1 - Short press mode (short press to enable ctrl then press a letter; long press sends tab chr)
2 - Long press mode (press letter while holding ctrl; short press sends tab chr)
Is'nt it easier to use the natural keyboard and use <shift> & the cursor keys to select your text that you want to cut/copy, then use the on-screen keyboard to select <ctrl> & c (copy), x (cut) or p (paste)?
is it possible to give the search hardware key another function?
for example an app?
or i would love to have the on/off screen rotation function on it.
there is an app in the market that allows this but it is limited. it can only program one app to it, but you can make it any app you want. I have it programmed to the screenshot app, so i can take screenshots anytime i want without having to go back to homescreen.
the app is called "Button Shortcut". Depending on the app you want, there may be specific search shortcut apps in the market. I have one called "Call Button" and this programs the search key to also bring up the dialer to make calls since our nexus does not have a physical button for dial.
yeah that app is cool, but it only replaces the long press function of the search key.
is it also possible to replace the normal click?
souljah2k said:
yeah that app is cool, but it only replaces the long press function of the search key.
is it also possible to replace the normal click?
Click to expand...
Click to collapse
Nope because the normal search screen can be handled by the active app.
I think in Cyanogenmod 7 you finally can do that.
l_Estat said:
I think in Cyanogenmod 7 you finally can do that.
Click to expand...
Click to collapse
in cm7, Settings > CyanogenMod Settings > Input.
You can set long press to custom application for the home and menu key
In addition, for the "search key" you can set custom app for both short & long key press.
For long press on Search button you can also use " LaunchKey " ... you can set any App you want or ... create a Menu of your favorite apps to lunch .
[email protected] said:
For long press on Search button you can also use " LaunchKey " ... you can set any App you want or ... create a Menu of your favorite apps to lunch .
Click to expand...
Click to collapse
i've tried this and it works. and if my memory is correct you can change long press and quick press to 2 different functions
Do yourself a favor and get Tasker. Binding the search button to pretty much anything you'd want is just one of about a billion things you can do with it. If you don't want to spend the money, you can try an app called AutomateIt. I haven't used that one as much as Tasker, but it has similar functionality.
Some of my Tasker tasks are:
Automatically turn on WiFi when I'm in my apartment
Turn off bluetooth when I disconnect my headset
Automatically turn on the GPS when I open Google Maps
Automatically start Pandora when I plug headphones in
You basically give it a trigger (app launching, button pressed, incoming call, etc) and a set of actions to perform when that trigger is hit.
Is it possible to replace the menu button with the ICS Task Manager/Multitasker? like in the galaxy Nexus? I think even the icon looks similar in a way to a list of apps. This would be useful especially since ICS deals with this perfectly by showing a menu button when it doesn't detect it as a hardware button.
What do you guys think about this idea?
Why not just hold the home button to bring up recent apps..
Sent from my GT-N7000 using xda premium
joshnichols189 said:
Why not just hold the home button to bring up recent apps..
Sent from my GT-N7000 using xda premium
Click to expand...
Click to collapse
Cuase holding the home button for 1 or 2 seconds its not better than just pressing the menu button.
pachi72 said:
Cuase holding the home button for 1 or 2 seconds its not better than just pressing the menu button.
Click to expand...
Click to collapse
Agree. Home buttons degrade and break.
pachi72 said:
Cuase holding the home button for 1 or 2 seconds its not better than just pressing the menu button.
Click to expand...
Click to collapse
VTEChump said:
Agree. Home buttons degrade and break.
Click to expand...
Click to collapse
Yep, and because given the choice, I'm sure most will opt to use it this way. the menu button is getting deprecated as a hardware button and being implemented more and more inside applications.
Hopefully some more ICS ROM devs will see this and review this suggestion. I would love to know what they have to say about it.
I wouldnt mind a widget to do it either. That shouldnt be to hard to do.
moyajaya said:
Is it possible to replace the menu button with the ICS Task Manager/Multitasker? like in the galaxy Nexus? I think even the icon looks similar in a way to a list of apps. This would be useful especially since ICS deals with this perfectly by showing a menu button when it doesn't detect it as a hardware button.
What do you guys think about this idea?
Click to expand...
Click to collapse
+1.
Regards.
This was the first thing I wanted to do after installing ICS. The capacative buttons are mapped in /system/usr/keylayout/melfas-touchkey.kl;
Code:
key 158 BACK WAKE
key 139 MENU WAKE
I'm just not sure what to replace 'MENU' with. 'TASK'?
Hate to double post but I thought I'd share what I've discovered.
I tried replacing 'MENU' with 'APP_SWITCH' in melfas-touchkey.kl and sec_touchkey.kl and got the menu button to act just like the recents button, however there was then no way to access the menu
I had a brief look at the android source code and it looks like the value that decides to show the action overflow button in the toolbar is set depending whether the on screen buttons are being used. Not at all sure about that though and I've seen the new HTC one phones have a hardware recents button replacing the menu so it can't be impossible.
bootlessjam said:
Hate to double post but I thought I'd share what I've discovered.
I tried replacing 'MENU' with 'APP_SWITCH' in melfas-touchkey.kl and sec_touchkey.kl and got the menu button to act just like the recents button, however there was then no way to access the menu
I had a brief look at the android source code and it looks like the value that decides to show the action overflow button in the toolbar is set depending whether the on screen buttons are being used. Not at all sure about that though and I've seen the new HTC one phones have a hardware recents button replacing the menu so it can't be impossible.
Click to expand...
Click to collapse
Thank you for trying this and letting us know about the results. I was thinking if all fails maybe the search option that appears when you click and hold the menu button could be replaced with the menu?
Clicking the Old menu button = New app switcher
Holding the old menu button = Menu
how about that? I think most apps include a search icon if/when they include search functionality.
Had a brainwave today and got it 90% there. I decompiled framework-res.apk and enabled the navigation bar AND resized it to 0. This means the action overflow button shows up in apps without the galaxy nexus-like software keys getting in the way. I then remapped the menu key and it is working like a charm
Of course then there is the little issue of bringing up the menu when using a pre honeycomb app. The simplest solution for me was to use the pen's button+swipe up gesture. This isn't ideal and doesn't even work for people using CM9 or stock ICS.
Here is the modified framework-res for the Team Rocket ROM v1.5:
dl.dropbox dot com/u/2340506/navbarhidden.zip
These forums don't trust me with links
Install with CWM recovery. Don't use it on any other ROM! I can't even guarantee it'll work on every team rocket rom. I'm too lazy to load every ICS ROM but if you post your framework-res.apk I can edit it for you.
After you can remap the hardware keys in /system/usr/keylayout/melfas-touchkey.kl and /system/usr/keylayout/sec_touchkey.kl like I mentioned earlier with Root Explorer or ES File Explorer. I have it set up to mimic the HTC one phones and the galaxy nexus's layout, since I keep the key lights off.
Hopefully this is useful to people. A better way to access the menu on old apps should be easier to do once people start tinkering with the HTC one phones.
bootlessjam said:
Had a brainwave today and got it 90% there. I decompiled framework-res.apk and enabled the navigation bar AND resized it to 0. This means the action overflow button shows up in apps without the galaxy nexus-like software keys getting in the way. I then remapped the menu key and it is working like a charm
Of course then there is the little issue of bringing up the menu when using a pre honeycomb app. The simplest solution for me was to use the pen's button+swipe up gesture. This isn't ideal and doesn't even work for people using CM9 or stock ICS.
Here is the modified framework-res for the Team Rocket ROM v1.5:
dl.dropbox dot com/u/2340506/navbarhidden.zip
These forums don't trust me with links
Install with CWM recovery. Don't use it on any other ROM! I can't even guarantee it'll work on every team rocket rom. I'm too lazy to load every ICS ROM but if you post your framework-res.apk I can edit it for you.
After you can remap the hardware keys in /system/usr/keylayout/melfas-touchkey.kl and /system/usr/keylayout/sec_touchkey.kl like I mentioned earlier with Root Explorer or ES File Explorer. I have it set up to mimic the HTC one phones and the galaxy nexus's layout, since I keep the key lights off.
Hopefully this is useful to people. A better way to access the menu on old apps should be easier to do once people start tinkering with the HTC one phones.
Click to expand...
Click to collapse
Great finds! Thumbs up!
Thank you for your efforts!
I would love to try those but I moved back to Gingerbread for the time being. ICS in the note is far from being a daily driver for me. A lots of bugs and battery drains compared to Gingerbread. Hopefully this will change quickly. I trust the dev community and i'm sure they'll beat samsung in having stable ICS releases...
Back to ICS. Using ICS Stunner 4.3 ROM with the new LP5 kernel and modem. This setup is simply stunning. Best ROM I've tried so far.
Back to subject, how can the process go for AOSP ROMs? Like this one I'm using...
Anyone found any other way around this? Thanks !
Sent from my GT-N7000 using Tapatalk 2 Beta-5
moyajaya said:
Back to ICS. Using ICS Stunner 4.3 ROM with the new LP5 kernel and modem. This setup is simply stunning. Best ROM I've tried so far.
Back to subject, how can the process go for AOSP ROMs? Like this one I'm using...
Anyone found any other way around this? Thanks !
Sent from my GT-N7000 using Tapatalk 2 Beta-5
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1450138
I looked into doing the same thing as you did only because I love the tablet layout and holding the home button doesn't bring it up.
In order to get what you and a few others would want on select roms, the source for the framework would have to be adjusted as said in the thread, meaning each dev would have to implement this independently.
The second thing is alread mentioned in this thread, which is changing the key layout.
You can hope that the dev has no issues with inserting it into their build.
NOT changing the source but editing the key layout will only bring up the a Gingerbread styled task switcher. I've tried ;_;
I personally might I add, would just love the same hold the home button functionality while in tablet mode.
evilisto said:
1) change source code related to APP_SWITCH keycode.
platform/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
from :
Code:
} else if (keyCode == KeyEvent.KEYCODE_APP_SWITCH) {
if (down && repeatCount == 0) {
showOrHideRecentAppsDialog(RECENT_APPS_BEHAVIOR_SHOW_OR_DISMISS);
}
return -1;
}
to :
Code:
} else if (keyCode == KeyEvent.KEYCODE_APP_SWITCH) {
if (down && repeatCount == 0 && !keyguardOn) {
try {
mStatusBarService.toggleRecentApps();
} catch (RemoteException e) {
Slog.e(TAG, "RemoteException when showing recent apps", e);
}
}
return -1;
}
2) edit your keylayout files..
/system/usr/keylayout/
for example, if you want to use search key to recent apps on nexus s...
cypress-touchkey.kl
Code:
key 139 MENU VIRTUAL
key 102 HOME VIRTUAL
key 158 BACK VIRTUAL
key 217 APP_SWITCH VIRTUAL
and mxt224_ts_input.kl (it would be better to edit both files..)
Code:
key 158 BACK WAKE
key 139 MENU WAKE
key 217 APP_SWITCH WAKE
key 102 HOME WAKE
Click to expand...
Click to collapse
I've always been annoyed by the behavior of the SYM key on the Droid4, given that it's not processed correctly by apps like terminal emulators or SSH clients. This makes using the keyboard to do shell work a colossal pain.
I've attached some keyboard layout files that correct the problem by remapping the SYM key to ALT, and then adding a fair number of ALT keybindings for all the missing keys on the D4 keyboard.
Changing keybindings on the Droid 4 is much easier as of ICS (vs GB), as all the bindings are done by editing plain text files.
My bindings are as follows:
CAPS LOCK, SHIFT, and OK are now all SHIFT. Yes it's redundant, but the shift key feels more appropriate in the position of the caps lock key and works better from both sides...and if you then remap old SHIFT key to anything else, you'll drive anyone else who uses your phone insane. I can see some people not liking this decision, feel free to modify.
SYM is now ALT
SYM+SPACE is bound to the old SYM key behavior (i.e., you'll get the popup, in apps that support it).
SYM+' = ` (backtick)
SYM+1 = ~ (tilde)
SYM+O = [ (square brackets)
SYM+P = ]
SYM+9 = { (curved brackets)
SYM+0 = }
SYM+/ = \ (backslash)
SYM+I = | (bar/pipe)
SYM+, = < (less than)
SYM+. = > (greater than)
SYM+8 = · (middle dot)
SYM+D = ° (degree symbol)
SYM+X = × (multiplication symbol)
SYM+Z = ÷ (division symbol)
SYM+C = ¢ (cents)
SYM+3 = £ (pounds)
SYM+E = € (euros)
SYM+Y = ¥ (yen)
SYM+= = ± (plus/minus)
The files in the zip file should be pasted into the appropriate subdirectories of /system/usr. You'll need a root-capable file manager to do this of course (e.g. FX File Explorer...but I may be ever-so-slightly biased here ). Be sure the permissions are root/root, rw-r--r-- on each file. Additionally recommend backing up the /system/usr/keylayout and /system/usr/keychars before proceeding.
And I have no idea how Android will behave should this mod be applied incorrectly....you might lose the keyboard or it might bootloop, I have no idea.
This was done on a stock Droid4 running Android 4.0.4, Motorola build is 6.16.217.XT894.Verizon.en.US.
The two modified files are:
/system/usr/keylayout/omap4-keypad.kl (contains physical keymappings, e.g., mapping the SYM key to be an ALT key, CAPS LOCK to be a SHIFT key)
/system/usr/keychars/omap4-keypad.kcm (contains keyboard modifier bindings, e.g. ALT+O = "{" )
I love you.
Will it be easy enough to add a 'Ctrl' key? The menu button on the D4 can have 2 behaviors. Maybe I should map the original shift as a 'Menu' key? hmmmm
donothurtme said:
I love you.
Will it be easy enough to add a 'Ctrl' key? The menu button on the D4 can have 2 behaviors. Maybe I should map the original shift as a 'Menu' key? hmmmm
Click to expand...
Click to collapse
Thanks!
Should be no problem to do, just map it to CTRL_LEFT.
Menu is a "shortcut" key rather than a control key. It's been a while since I played with implementing menu-shortcuts in apps. An app can listen for shortcut key events. On something like a Transformer, Android will send them for Ctrl, but on a Droid n, it'll send them for Menu.
Remapping shift will cause anyone else who uses your phone to go crazy.
I applied these settings on my D4 works like a charm in most apps
It doesn't work for quickoffice so that's kind of lame
Does anyone know what productivity apps that the shortcuts work for?
Sent from my DROID4 using xda app-developers app
rohan_h said:
I applied these settings on my D4 works like a charm in most apps
It doesn't work for quickoffice so that's kind of lame
Does anyone know what productivity apps that the shortcuts work for?
Sent from my DROID4 using xda app-developers app
Click to expand...
Click to collapse
The stock installed QuickOffice, i.e., Quickoffice 5.0.109 - Motorola? It seems to work without issue for me. Also working fine in latest DocumentsToGo (full version). I've only tried the word processors.
I actually was reffering to selecting text from the keyboard in quickoffice
I saw keyboard mod I was mistaken.
Btw I modded my ok key to ALT_right so it's convinent to switch recent apps w.o touching.
I have to long press in an area of a few seconds then "select text" from the pop-up menu in quick office
The shift key doesn't select text in quick office until one selects the previously mentioned option
Sent from my DROID4 using xda app-developers app
rohan_h said:
I actually was reffering to selecting text from the keyboard in quickoffice
I saw keyboard mod I was mistaken.
Btw I modded my ok key to ALT_right so it's convinent to switch recent apps w.o touching.
I have to long press in an area of a few seconds then "select text" from the pop-up menu in quick office
The shift key doesn't select text in quick office until one selects the previously mentioned option
Sent from my DROID4 using xda app-developers app
Click to expand...
Click to collapse
I think there's something weird in Quick Office because it doesn't play so nice with the keyboard on the Lapdock in certain situations too.
Cheers,
Steve.
After contacting customer support quick office doesn't support keyboard shortcuts.
Why did Motorola choose to preload this device with a physical keyboard with a productivity app that doesn't support a keyboard is just poor R&D
I bit the office suite bullet and purchased it. That app works well.
Easy to copy and paste, select text and other such necessary tasks to output papers and other documents.
I still use quick office to view stuff on and I use office suite to edit
Sent from my DROID4 using xda app-developers app
Hi .. I wanted to know if it exists or you can create an application, root / xposed or not, to customize the home button of the P20pro with root.
I would:
swiping to the right = back
swipe left = recent
a click = to set
double click = menu
a long click = kill app
All with vibration and confirmation sound, thank you
glpro said:
Hi .. I wanted to know if it exists or you can create an application, root / xposed or not, to customize the home button of the P20pro with root.
I would:
swiping to the right = back
swipe left = recent
a click = to set
double click = menu
a long click = kill app
All with vibration and confirmation sound, thank you
Click to expand...
Click to collapse
Think there is a Magisk module for that..
Check in XDA labs apps.
Thanks for the tip but I did not find anything .. I also searched among all Magisk modules but there is nothing. If there is another solution, I will wait for it.