[Q] change keymap for longpress actions?!! - Android Q&A, Help & Troubleshooting

Hey community:
So my Problem is that I want to change the action for long-pressing the hardware keys.....
Well I know that all key functions are stored in the 'generic.kl' document, but I can't find the script or document for the long press actions anywhere do you guys have any idea where this could be stored???? I mean it has to be somewhere otherwhise the device would not know what to do if someone's long-pressing a hardware button......?! Would be very use- helpful!:fingers-crossed:
And I don't want to install any other launcher.
My device is the Samsung Galaxy S4 (but that's not really from interest, I guess, cause the generic.kl and those other documents are on every Android device)
I'm running kind of a stock Rom (Samy Deluxe S4 - M)
Hope anyone can help me!

try xposed framework
what ull need to do is install xposed installer
and then in the app, download "xposed additions" module. u can remap almost any key long press or a simple tap.
works perfectly for me
u can get xposed here
http://forum.xda-developers.com/xposed/framework-xposed-rom-modding-modifying-t1574401
dont forget to hit thankx

Related

[Q] Keyboard Keys Modifications? (Removing, Replacing)

Hello, XDA!
So recently, I found a flashable zip for a stock LG keyboard. I do have a problem though, when I use the keyboard, I have an annoying and useless T9 button and I want to move/resize some buttons.
Would it be possible to modify the apk from the zip to achieve what I am trying to go at? I prefer this keyboard than any other keyboard because this is the closest to the LG P690 stock keyboard in terms of speed I could find to the original, and this is what I'm accustomed to.
(Please see attachments)
What I'm trying to achieve is:
1.) I want to remove the T9 button, settings button and comma on the first layout.
2.) Move the comma into the symbol layout and move the keys according to the sample layout.
3.) I also need to let the spacebar fill the space the removed buttons used to take up.
Is this possible? I would be more than happy if someone could teach me/make it with the apk (if it is at all possible). I have included the flashable zip with the apk inside if anyone wants to try. Thanks!
Hi,
I had the same idea once and found this thread:
stackoverflow.com/questions/1670446/android-cutomized-keyboard-key-and-action
I gave-up because it looked uneasy (if not impossible)
Best.

[Q] DYON Andromeda change Launcher(Mouse and WLan don`work after that)

Hallo,i have buy a Dyon Andromeda TV Box,and now i will change the Launcher,but when i install a another Launcher(Atom Launcher etc..)my Mouse and Wlan don`t work anymore after i have change the Launcher and set it as the default Launcher and reboot.When its reboot my Wlan and Mouse dont work anymore,but when i change back to the old Launcher it is working.
I have the Firmware from here: dyon.eu/downloads/firmware/Firmwareupdate_DYON_Andromeda_20121019.zip installed.
Can somebody help me with this problem?
Or can anyone make a Programm where after the first Home Launcher was startet,a another Home Launcher starts and is set as default Launcher?<--when i start the original Home Launcher and then my Home Launcher that i would have everything its ok(Wlan and my BluetoothMouse is work)
I have delete the launcher3.apk from the .zip(the Rom-firmware),and take there my launcher,but then my Wlan and Mouse don`t work anymore.
I don`t have any more ideas what i can do that my Mouse and Wlan would work with a another Launcher.I would be happy if anyone can help me.
Thanks Paul G. from Germany
It`s me again,i have now use the app "Home Switcher",and this is what i need.I need a app that start my "original firmware" Launcher(com.launcher)and after 1 second that my default launcher(com.dlto.atom.launcher)start again.All that i need,because when my "original Firmware home launcher" isn`t start,then my mouse and wifi isn`t work.
My question is:Can somebody make a .apk for me that do this(so i can put it on statup,and all for me is fine).
1.that "com.launcher" start (Launcher)
2.after 1second my default launcher "com.dlto.atom.launcher" start (Atom Launcher)
Thanks
Paul G.
Hallo,i have now change the AndroidManifest.xml in the Atom Launcher to com.launcher,but that isn`t work too,my wifi and mouse didn`t work...hmm
now my question is,can somebody make a .apk for me that to this two thinks
1.that "com.launcher" start (Launcher)
2.after 1second my default launcher "com.dlto.atom.launcher" start (Atom Launcher)
i have tried to make it own,but i can`t understand what in the Home Switcher.apk stands (.xml) i can`t Java.hmm
So i hopefully hope that someone hear can make it for me.
Yours Paul G.
Hello it`s me again,i have now write with the developer of Home Manager,and he has give me a link where i can find the Source,and he has said it`s easy to change,only a few lines must be cahnged,but i don`t know what i have to change.So my question is again,can somebody make this .apk for me?Her is the link with the Source: github.com/rmack/TwistedHomeManager .
1.that "com.launcher" start (Launcher)
2.after 1second my default launcher "com.dlto.atom.launcher" start (Atom Launcher)
and(but if it take to match time,i can life without it)that it is start when i boot up my device like whats app.
for the autostart i have found this link
stackoverflow.com/questions/1056570/how-to-autostart-an-android-application
thanks
Paul G
Hello,nobody there who can help me with my problem?
For you it will cost only a few minutes to make it,and help me with my problem.
I don`t can make it(i don`t know the commands that i have to use).Please help me.
I will now wait,and wait that someone spend his/her freetime to make me this .apk.
Thanks
Yours Paul G
tekkin said:
Hello,nobody there who can help me with my problem?
For you it will cost only a few minutes to make it,and help me with my problem.
I don`t can make it(i don`t know the commands that i have to use).Please help me.
I will now wait,and wait that someone spend his/her freetime to make me this .apk.
Thanks
Yours Paul G
Click to expand...
Click to collapse
You can try with TASKER. It's an app available in the PLAY STORE
You need to be ROOT and TASKER is NOT free...
If you decide to install it, I'll tell you how to do it.
First you must enable TASKER as administrator from the SETTINGS app.
Go to SETTINGS > SECURITY > DEVICE ADMINISTRATORS > Activate TASKER
Then, open the Tasker app.
There are three tabs in the app: PROFILES, TASKS, SCENES
Go to TASKS
Create a new task > APPLICATION > LOAD APPLICATION
And choose your desired application (Dyon's ORIGINAL launcher called simply "LAUNCHER", not your own)
Once you've done this, go to PROFILES
and create a new one and name it as your wish. I named it "BOOTING"
Then you're prompted to chose the first context > You should choose EVENT
After that, you search for DEVICE REBOOT (or something similar). Choose it.
Now, in the list of profiles you'll have your "BOOTING" profile. Clic on it and ADD TASK
Which one? the one you just created (The one that opens Dyon original launcher)
Now you only have to ACTIVATE the profile (move tab to YES) and the MAIN DYON LAUNCHER will be executed on boot,
providing you the network interfaces and the mouse support. With this, you can now set your NOVA LAUNCHER as default.
When you press HOME, your Nova Launcher will load. Also, on reboot... it will also load, since it is the default launcher.
However, since you've configured Tasker to launch the Dyon Launcher on boot, this launcher will ALSO start.
Perhaps you end up viewing the Dyon Launcher layout at boot because it might load AFTER Nova... but it doesn't matter.
You can clic the home button of with your mouse and you'll see Nova back... and forget about it till next reboot
Hope this little guide helps you!
That was it,now every think is ok!Thank YOU!
But i have one more question:
1.the problem is that the Dyon don`t have a build in Microfone(or can i build one to the audio out(that it is work like audio in)???),and i wount to use Skype(i can hear and see the other Person),when i Plug a USB MICOFONE in it,that other Person can hear me,but when i use a wireless mouse and the micofone togerther,that other Person can`t understand what i said,he hear something,but he said he hear me like a robot,can i do something that the mouse and the microfone are woking together?
2.and it is posible to use a usb camera?when i plug my usb cam i have a green picture on skype<--?
3.and is it posible that a bluetooth stick would work on the Dyon?(i wount to use a PS3 or Wii Controller to play the Nes/SNES Emu Games).
I see that Dyon Andromeda / Goclever Android Box 500 and Energy Android Tv Box are all the same,only the remote is other(you can change the firmware from one to other).And the Energy Sistem had the newest firmware(FW_Android_4.0.3_12-09-2013_rev04.rar)...
Yours Paul G.
Firmware Dyon Andromeda
hello,
I'm looking for the firmware for Dyon Andromeda and I'm not able to find it. Can someone share it with me please?
i've got a problem, maybe some one can help me. i've got a energy sistem android tv box, i've changed the fw for optex, but the sd doesn't mount, the remote control doesn't work on recovery, and i can not flash any firmware due to signature errors.
Is there any way to change recovery? or install from zip?
Thanks and regards,
Darina.
Darina,her is the rom for Energy Android TVBox
http://storage.energysistem.com/arc...d_4.0.3_25-06-2014_rev05.zip?0152rF4ox3rbxkXL
for the Dyon Andromeda i cant find it.Sorry
Her for you,i have found it on my HDD and upload it on Zippyshare:
http://www7.zippyshare.com/v/nMOd17Na/file.html
A "how to" is in the Zip file.
Thanks so much Tekkin but someone left me the FW a few months ago. Anyway never could aI change the recovery so I should get the mote.
Best regards,
Darina

Problem with home key

So far I can't post PM or message to developement board as new registered user, lets try to get answer to my problem this way
Problem and following ROM is related to Xperia GO
I downloaded, installed and started use ExtremeSecurity Stock Jelly Bean 6.2.A.1.100 European ROM http://forum.xda-developers.com/showthread.php?t=2328171. I did it as I need something to replace stock one with delays it have. I found one problem, I am unable to solve. After install and rooting I found I can't use the home key (the touch sense key under display - the one with "house"). I was trying to google and change mapping of this key and did not succeed. So I made some tests and did not move anywhere forward...
1) If I go to recovery, cwm allow me to display key numbers in some menu. Here key respond well it code as 102 (as it should)
2) If I add line like key 102 HOME WAKE to any file in /system/usr/keylayout nothing change (after editing I reboot, then put it back, so far I was not succesfull)
3) If I use any of "keypress test application" (try 3 of them) they report all keys well (back, settings, vol up/dwn power) but no report and no action for home.
There is no difference in press or long press of key. Simply no action follows.
Do you have any Idea what can be wrong?
Thanks a lot
Karel
P.S. If admins will forward it as message to munjeni or move to Developement part of forum for this ROM, please delete it here...

Is there a .zip to revert the home / menu

Is there a zip to put the Menu / Home buttons back to what they were on the s3 s4? I use apps that dont have a menu tap here button. I need the the original menu button.
Thanks in advance.
If you are rooted check out this post to see what would need to be changed
http://www.droidforums.net/threads/...menu-and-long-press-home-with-recents.269115/
a zip might be problematic as it might be dependent on the rom you are running.
An even easier way is to download gravity box and set the keys as you wish.
Isn't the default hold action on the "App switcher" (left) icon going directly to settings?

Navbar modding

Hi everybody,
I need help in finding a way to change the key functions of the navbar by editing the buildprop or editing similar commands/strings. I intend to assign a different function to the preset soft keys ( back - home - recent ). All that I can find on the web is applying a string (qemu.hw.mainkeys=1) at the end of the buildprop to completely hide the navbar . The apps that can be found in the store are only able to hide the navbar adding a new one instead. My aim is to keep the original navbar (I'm running a blisspop rom) changing the root functions of the soft keys .
Any help would be very appreciated .
You will need to edit it all in source. There is no easy way to do what you want let alone on a rom like bliss

Categories

Resources