Remap Softkeys? - Droid Eris Android Development

Is it possible to remap our softkeys? I tried following directions I found on Hero and it didnt work. Was wondering if anyone was able to change lets say, the Search button to launch the Camera.
http://forum.xda-developers.com/showthread.php?t=695936

What happens when you LONG press your search button? Mine comes up with 3 different options from various apps i have installed, including voice search. So I would say yes, its def possible.
Handcent
Quick Settings
Voice Search
All 3 of those show up when you long press the search key. So I'm sure you can have it launch the camera, just have to know how to develop it
I wonder if it can maybe be altered with BetterCut.

LexusBrian400 said:
What happens when you LONG press your search button? Mine comes up with 3 different options from various apps i have installed, including voice search. So I would say yes, its def possible.
Handcent
Quick Settings
Voice Search
All 3 of those show up when you long press the search key. So I'm sure you can have it launch the camera, just have to know how to develop it
I wonder if it can maybe be altered with BetterCut.
Click to expand...
Click to collapse
I get 2 diff items when I long press search. Voice Search and Handcent. I tried following the guide listed above and it just made the Search key vibrate and do nothing. Unless I screwed up copy and paste, lol, I dont know. Has anyone successfully changed any of the soft keys?

droidkevlar said:
Is it possible to remap our softkeys? I tried following directions I found on Hero and it didnt work. Was wondering if anyone was able to change lets say, the Search button to launch the Camera.
http://forum.xda-developers.com/showthread.php?t=695936
Click to expand...
Click to collapse
Decad3nce [OP]
Senior Member
id totally ask this dude, if he came up with this than im sure hed know how to revamp for our phone, theres proably honestly little to change in process.lol i wish i knew how or id tell ya....

Related

CommManager on a button like Hermes

Hi guys, just wondering. Can anyone tell me how i can get commmanager on a button like on my hermes. Obviously there is no dedicated button but i would like to use the voice dial button when held down instead or recording notes.
On my hermes the commanager is in the list but the trinity it isnt so i dont know how i can set this.
Thanks guys
Rob
Dude, if you had just typed in the same words you used to open up this entirely new thread into the search engine instead, you would have found your answer in like 30 seconds...
Here is the answer from someone else who did the same thing:
http://forum.xda-developers.com/showthread.php?t=295349&highlight=comm+manager+on+button
Remember - search first, post second!!!
Oh yeah.
You are absolutely correct and i apologise. I did search but i searched for "hardware buttons" and stuff like that and read through loads of stuff.
Thanks very much.
Rob
psargent said:
Dude, if you had just typed in the same words you used to open up this entirely new thread into the search engine instead, you would have found your answer in like 30 seconds...
Here is the answer from someone else who did the same thing:
http://forum.xda-developers.com/showthread.php?t=295349&highlight=comm+manager+on+button
Remember - search first, post second!!!
Click to expand...
Click to collapse
Yes, he would have found that, but then, when he tried the method suggested, he would have asked again anyway as it doesnt work! I copied the shortcut to the right place and selected it in buttons but the button now simply does nothing!
rjefferis said:
Hi guys, just wondering. Can anyone tell me how i can get commmanager on a button like on my hermes. Obviously there is no dedicated button but i would like to use the voice dial button when held down instead or recording notes.
On my hermes the commanager is in the list but the trinity it isnt so i dont know how i can set this.
Thanks guys
Rob
Click to expand...
Click to collapse
There is a program called iLauncher that will allow you to assign the ComManager to "quick launch" you can then assign the quick launch to a hardware button. I use the voicedial button.
Warny
Hi again Warny, people must be getting sick of us. lol
Mine worked ok. I set it to launch on holding the voice command button. I did what they said. copied the shortcut in.
Have you tested your shortcut directly buy checking that it launches from the program menu. At least that will tell us whether it is the shortcut not working or the button talking to the shortcut that is not.
Rob
warnysouth said:
Yes, he would have found that, but then, when he tried the method suggested, he would have asked again anyway as it doesnt work! I copied the shortcut to the right place and selected it in buttons but the button now simply does nothing!
Click to expand...
Click to collapse
rjefferis said:
Mine worked ok. I set it to launch on holding the voice command button. I did what they said. copied the shortcut in.
Click to expand...
Click to collapse
I expect a full apology.....just kidding
Glad it is working for you guys!
psargent said:
I expect a full apology.....just kidding
Glad it is working for you guys!
Click to expand...
Click to collapse
Sorry but it sill doesnt work for me. Firstly the file I see is connmgr.exe is this the right file?
If so Ive tried several times and pressing the button does nothing
Any ideas?
Wanry
warnysouth said:
Sorry but it sill doesnt work for me. Firstly the file I see is connmgr.exe is this the right file?
If so Ive tried several times and pressing the button does nothing
Any ideas?
Wanry
Click to expand...
Click to collapse
OK I fixed it the real file is in the windows\AppButtons folder not the windows\ dir on my spv.

How to disable the X Panel button?

I've tried to replace the /Windows/PanelManager.exe with an empty file of the same name, doesn't work. Deleting the /Windows/StartUp/panelmanager.lnk also doesn't work, it just generate itself back upon pressing the X button.
I just want to map the key to start menu without launching that damn panels, is there any way to do this? Or is there a way to move the /Windows/PanelManager.exe to SD card?
If you look arround this forum there is somewhere a statement of the programmer of aebutton plus - a programm to map the hardware keys in WM and to add double and triple click functinality.
He described that most probably the X1 panel button is adressed on "driver-Level" if I remember correctly and therefore not remapable for him. It needs a special drive to do so.
This is what I know. What with aebutton plus you can remap the other hardware buttons of the X1 - there are several threads allready here that it is working nicely on the X1.
Claus
ykf said:
I've tried to replace the /Windows/PanelManager.exe with an empty file of the same name, doesn't work. Deleting the /Windows/StartUp/panelmanager.lnk also doesn't work, it just generate itself back upon pressing the X button.
I just want to map the key to start menu without launching that damn panels, is there any way to do this? Or is there a way to move the /Windows/PanelManager.exe to SD card?
Click to expand...
Click to collapse
Yes I know. I've seen that post. Actually I'm also the user of AEbutton plus. It works on mapping the X button to start menu, but the button also launch the panels. So aside from disabling the driver level mapping, we can get around this by just deleting the PanelManager.exe. The problem is how to do that?
what i did was search for it in register and change it,
i also saw some tutorial how to do it around here
changing the X button to other .exe: http://forum.xda-developers.com/showthread.php?t=448067
People please search the forums before posting... This is on the second page of this section...
Loco5150 said:
changing the X button to other .exe: http://forum.xda-developers.com/showthread.php?t=448067
People please search the forums before posting... This is on the second page of this section...
Click to expand...
Click to collapse
yup that is what i was talking about
this is what i'm lookin for, thanks bro

CLIQ gets added button functionality 01/28 through OTA

http://forums.t-mobile.com/t5/MOTOR...available-STILL-1-5-though/td-p/304863/page/2
There was an OTA update to the CLIQ today, which was taken down after 15 minutes. Reports say this added functionality to their home button as such:
There is also a new option to double-click home button to launch, contact, voice search, etc... it's under Application Settings
Click to expand...
Click to collapse
As for the double tap on the home screen, you can now set that as a shortcut. So if you press the home key twice, it will open up a certain function of the phone. Like take you to your contacts or open something else. By default it opens up google voice search.
Click to expand...
Click to collapse
No you can't customize the Double Tap. It is located under Settings - Application Settings and gives you the choices of Voice Search, Messaging, Dialer, Map, Contact and Camera
Click to expand...
Click to collapse
Is there any chance that something like this can be either a) ported over, or if it's not possible, b) developed for the Nexus One? (Basically if it is possible to add button functionality using the standard SDK tools?)
And even better, edited/hacked so as to allow home button double-tap to launch ANY app? (And even add double tap functionality for the other buttons?)
I don't see this working too well with capacitive buttons, tbh.
double tap on track ball
I wish there is a way to have double tab on he track ball to launch the dialer or to my favorite contacts. It would make it easy for making phone calls.
nuc70st said:
I wish there is a way to have double tab on he track ball to launch the dialer or to my favorite contacts. It would make it easy for making phone calls.
Click to expand...
Click to collapse
i can dig that!
but with the option to change it like camera, txt, etc...
nuc70st said:
I wish there is a way to have double tab on he track ball to launch the dialer or to my favorite contacts. It would make it easy for making phone calls.
Click to expand...
Click to collapse
That too!
The reason I ask if this is even possible to develop using the standard SDK tools is because I've been searching and searching and searching and searching over the past year with my G1 for some app on the Market that adds or alters button functionality. To date, there is not a *SINGLE* app that does this for *ANY* Android phone.
Until yesterday's update of course. Finally!!!
Is this something that ONLY Motorola (and other carriers) can do?
Personally, I would love to see a mod in spare parts or something that would make it so that all of the capacitive buttons at the bottom of the screen on the Nexus would require a double-tap to be activated. This would help us avoid brushing up against them accidentally when not meaning to. Granted, it would take a little bit of getting used to double-tapping them to make them work, but I'm sure some people would appreciate and use such a mod. I'm talking about a purely optional mod that you would not have to have turned on (but could via Spare Parts) and would be off to keep the button behavior stock by default.
kylez64 said:
i can dig that!
but with the option to change it like camera, txt, etc...
Click to expand...
Click to collapse
i guess the longevity of the trackball is low, at least it is on my blackberry. if you are onto this, mate, then, maybe, it could be either dblpress or longpress - to chose from?
tutech said:
Personally, I would love to see a mod in spare parts or something that would make it so that all of the capacitive buttons at the bottom of the screen on the Nexus would require a double-tap to be activated. This would help us avoid brushing up against them accidentally when not meaning to. Granted, it would take a little bit of getting used to double-tapping them to make them work, but I'm sure some people would appreciate and use such a mod. I'm talking about a purely optional mod that you would not have to have turned on (but could via Spare Parts) and would be off to keep the button behavior stock by default.
Click to expand...
Click to collapse
Hah, different strokes for different folks. I wouldn't use that, but that's exactly why it should be customizable.
Can any Android developers comment on this?
I found one! It's called Button Shortcut in the market. Great App!
Paul22000 said:
I found one! It's called Button Shortcut in the market. Great App!
Click to expand...
Click to collapse
Using it now. Works great. Replaced search-button long press with Dialer.
Perfect!
karthikjr said:
Using it now. Works great. Replaced search-button long press with Dialer.
Perfect!
Click to expand...
Click to collapse
Hell yeah! Now I wonder what it would take to get a back button long press?
I emailed the developer to see if a Back button long press was possible. His answer:
It is not possible to override function of back button.
-social mobile <[email protected]>
Click to expand...
Click to collapse
Well that's a bummer! I do like this lite app Button Shortcut at least for a Dialer launch button!

Sym on hardkeyboard

It drives me nuts there are no '<' '>' symbols on the hard keyboard. When you press alt+space it brings up a popup of extra symbols. Anybody have an idea of how we can make this popup editable? I'm pretty sure its not tied to your IME because it doesn't change when I install a new one or use swype, etc.
I'm not sure where to look on this anyone have an idea?
Looking for the alt+space popup in ASOP
schwiz said:
It drives me nuts there are no '<' '>' symbols on the hard keyboard. When you press alt+space it brings up a popup of extra symbols. Anybody have an idea of how we can make this popup editable? I'm pretty sure its not tied to your IME because it doesn't change when I install a new one or use swype, etc.
I'm not sure where to look on this anyone have an idea?
Click to expand...
Click to collapse
im pretty sure you are posting on the wrong section... but
hold alt+K for ], } and >
hold alt+J for [, { and <
hold alt+L for \
What about a "\"?
EDIT: Ah I see. The same works for "\" however only with the stock keyboard enabled. If you're using swift key, the key you're pressing just repeats.
theclueless said:
im pretty sure you are posting on the wrong section... but
hold alt+K for ], } and >
hold alt+J for [, { and <
hold alt+L for \
Click to expand...
Click to collapse
I thought this was section for brainstorming mods... Where should I repost for better results? Also, alt+L just gives me ')' how do you cycle through them?
Edit: ok I see it is tied to the IME cause switching to a differnt one wouldn't let me cycle through like you explained, switching back to stock keyboard now I can. Guess that sums it up.
schwiz said:
I thought this was section for brainstorming mods... Where should I repost for better results? Also, alt+L just gives me ')' how do you cycle through them?
Click to expand...
Click to collapse
you hold both keys until an onscreen menu pops up
Would you be able to set one of the quick keys up to do it ???
bled82 said:
Would you be able to set one of the quick keys up to do it ???
Click to expand...
Click to collapse
yeah I thought about making a little app to do that but hate to waste a quick key for that, although I do have an extra one right now. But I just put in a feature request with smart keyboard pro for them to make the symbols popup editable when pressing alt+space. Hopefully they will do it, shouldn't be to tough.
Just heard back from SmartKeyboard dev and he says the popup from pressing alt+space actually isn't tied to the IME and he can't override it. Still waiting back to hear if he know how to mod it. In the meantime back to the drawing board. Anyone know where this popup lives in ASOP?
I would like the quick keys to be the option. I never use them.
I would like a program or hack to remap the quick keys to something.
one would be switching WiFi on and off.
Perhaps I can find an app in the market that does just that with one click, and i can then set that quick key to that prog?
I'll have to look.
ps. Corylulu, your back down to number 4 again
i think i looked through every alt+key hold combo, but i could not find a ^ ?
wilnotdie said:
I would like a program or hack to remap the quick keys to something.
one would be switching WiFi on and off.
Perhaps I can find an app in the market that does just that with one click, and i can then set that quick key to that prog?
I'll have to look.
ps. Corylulu, your back down to number 4 again
Click to expand...
Click to collapse
Yeah, I know. Really I still consider it number 3 since the 2nd and 3rd is the same guy.

Handling the genius button press

We need to figure out a way to customize the genius button. It would be a great service to everyone, especially if it doesn't require root.
I looked at logCat, and I see that the button fires up the following intent:
Code:
{ flg=0x10000000 cmp=com.nuance.android.vsuite.vsuiteapp/.VSuiteStartSession }
I'm not quite sure how to create an intent handler for something that doesn't have an action or a category. I even created a test app that matches the intent above exactly, but only the stock genius app launches, and I'm not given an option to choose my default handler for the action. I don't think there is a key handler to intercept either. Any ideas
You know, I was thinking about this all morning (eventhough I don't have the device). Back in the day we remapped functions for certain keys (as g1 didn not have search key of any kind). Can someone go into /system/usr and look what's in there? I believe we are looking for keylayout folder. In that folder we should have some .kl files. They named different from device to device (using Cliq now and they are all named MorrisonXXXXX.kl). Look through those files and find genious button function. From there it should be very easy to change it to google search (or voice search) but substituting the function and pushing the file back in its location. I would have no problem doing it but as I said, I don't own the device myself.
Couple more option (highly unlikely to work):
Clear defaults in Genious app
Freeze Genious app
I don't see those working but who knows... we may be able to assign new default after doing this.
kl files
Here are the files from /system/usr/keylayout
Looks like the correct entry is in glacier-keypad.kl, but it is mapped to a "search" function.
Not sure it will help, but I'd love to see search there instead.
I don't mind the genius button, it actually works fairly well the more you use it. However, I don't like that it disables the search button.
It should be single press for search, long press for genius.
That would be perfect.
rjgii said:
Here are the files from /system/usr/keylayout
Looks like the correct entry is in glacier-keypad.kl, but it is mapped to a "search" function.
Not sure it will help, but I'd love to see search there instead.
Click to expand...
Click to collapse
Ok, I'm at work so I can't really do anything with this but I will look into into it later, when I get home. You are correct, it's in the glacier-keypad.kl. Unfortunately, it's set to the same thing as regular search i.e. In G1 we used to set it to SEARCH as well but it would bring up regular search.
I will try to PM GeniusDog (the guy who figured out how to remap keys) when I get home to see if he can give me some insight on this.
Did anyone try to freeze (disable) Genious app to see if it releases G key to regular search?
We should also contact ChiefzReloaded, he would know how to do it since they put CM on Slide which did have Genious on it to begin with.
Ok, so I guess this is a little different then the Slide. Slides G key was mapped to FUNC_4. Our G key already mapped to SEARCH, its just that Genious overtakes it. I twitted Eugene_73 to see if he could help, he was the brain behind Slide's development in this area.
If its helpful to anyone, holding down the menu button will bring out search keyboard. I really wish the would give us a option to chose from the voicesearch ¦,/
Sent from my HTC Glacier using XDA App
borodin1 said:
Ok, so I guess this is a little different then the Slide. Slides G key was mapped to FUNC_4. Our G key already mapped to SEARCH, its just that Genious overtakes it. I twitted Eugene_73 to see if he could help, he was the brain behind Slide's development in this area.
Click to expand...
Click to collapse
Hmm...what about mapping it to a function key (like on the G2) and then assign whatever action we want to that function key? I will try that out as soon as I get some free time.
Alright, so I tried modifying the key layout file on my G2 (vision-keypad.kl) just to test the process and I am not allowed to make any changes. Just get a "Read-only file system" response. I'm sure it would be the same for the MT4G. Anyone have ideas on what else to try? I really want to find a solution without rooting, but any solution would be a good start.
root
We have root now, so we should be able to modify the key mapping files.
If I find any time today I'll give it a shot.
rjgii said:
We have root now, so we should be able to modify the key mapping files.
If I find any time today I'll give it a shot.
Click to expand...
Click to collapse
Great. You will probably have to remount the system partition like this before you can write to it:
su
mount -o remount, rw /system
Oh how I hate that genius button..I would absolutely donate immediately for an app to remap it to search. That would be amazing.
Sent from my HTC Glacier using XDA App
Did anyone try to uninstall (disable) Genious app yet? Since the G key mapped to SEARCH already, this may release it to actuall Google search.... just thinking out loud
I froze it last night. No response from the G button after that.
21productionz said:
I froze it last night. No response from the G button after that.
Click to expand...
Click to collapse
LOL...
They really mean "you" in the commercials!
You gotta customize everything..
Sent From The Moon... With a HTC Glacier
I updated my voice search in the market when I first got the phone, and for a time when I pushed the button is would actually give me the option to choose what app handled the action and I could choose voice search. However, after one time choosing the Genius button it never asked again. I wonder if there would be a way to continuously clear the Default so that it always asked.
borodin1 said:
Did anyone try to uninstall (disable) Genious app yet? Since the G key mapped to SEARCH already, this may release it to actuall Google search.... just thinking out loud
Click to expand...
Click to collapse
I disabled dragon dictation and genius, and after holding the button for a couple seconds, my phone crashed and rebooted. Multiple taps on the button seemed to do the same thing. Leaving dragon dictation enabled and genius disabled seemed to be less prone to crashing.
This has been solved in this thread:
http://forum.xda-developers.com/showthread.php?t=836702

Categories

Resources