[Q] Remapping the camera button? - myTouch 4G Q&A, Help & Troubleshooting

Is there an app out there that will allow me to remap the mt4g camera button?
I prefer Vignette over the default camera app and would like to be able to open it using the side button instead of through a homescreen icon.
I purchased Button Remapper from the Market but that didn't work as I had hoped so I got a refund. It only allowed me to remap the button to different functions as opposed to different apps. Did I completely miss something? I emailed the dev to see if this is possible and am awaiting a reply but wanted to see if anyone else had a solution to this dilemma.(UPDATE: The developer got back to me and confirmed that I would not be able to use Button Remapper for what I was hoping to do. I appreciate the dev's quick response though)

see this thread
http://forum.xda-developers.com/showthread.php?t=834191

neidlinger said:
see this thread
http://forum.xda-developers.com/showthread.php?t=834191
Click to expand...
Click to collapse
Handing out help that doesnt work?? No where in the thread you linked does it answer his question. He is asking about a app that will allow him to open another app (ie: Vignette) by using his dedicated camera button. It was never answered in that thread either.
Answer....Button Shortcut in the Market (free) will allow you to make your camera button open any app you want. Including Vignette.

Related

configure optical button

Is there a way to configure the optical button on the htc incredible so that clicking it wakes the phone up (like pressing the top button)? I'm looking for functionality thats a little bit similar to how the iphone wakes up since I find that button at the bottom much more accessible than the button on the top.
id be interested in this as well. The top button isnt very intuitive to me
Search the market for "lock screen" or "lockscreen" or just "lock" (or maybe "button"? I thought there was a button switcher app too).
Many of the 3rd party lock apps will bring up the lock screen by pressing one or more of the physical buttons (volume, camera, etc). I bet at least one of them comes on with the optical button.
it has been done on the nexus one with the trackball. i think you need root access or at lease custom rom.
Ok, I found this.
http://androidforums.com/htc-incredible/69443-using-optical-trackpad-button-wake-phone.html
Try the "lockbot" app. It is probably about all that is available right now, but the Incredible will be extremely popular. There will be more hacks/tweaks/apps/whatever for this device than any to date, I suspect.
Humpa said:
Ok, I found this.
http://androidforums.com/htc-incredible/69443-using-optical-trackpad-button-wake-phone.html
Try the "lockbot" app. It is probably about all that is available right now, but the Incredible will be extremely popular. There will be more hacks/tweaks/apps/whatever for this device than any to date, I suspect.
Click to expand...
Click to collapse
Thanks for the heads up. And I agree I think we are going to see a whole new level of geek with this phone
"myLock" in advance mode.
Great app, and thank you for the info. I was looking the same solution.
Mylock works great. Although I did have one occurence of it locking up the phone.
-------------------------------------
Sent via the XDA Tapatalk App
daftlush said:
"myLock" in advance mode.
Click to expand...
Click to collapse
Are you talking about the app called myLock auto unlock? I am not finding an advanced mode or way to get in advanced mode. Care to explain a little more? and this is able to make it so you can use the trackpad to wake/unlock the phone?
NoLock works for this as well but I wish there was a way to allow the optical pad to work without allowing the volume buttons to work at the same time.
Tried myLock just now and both seem like good apps.
re
GrandMasterB said:
Thanks for the heads up. And I agree I think we are going to see a whole new level of geek with this phone
Click to expand...
Click to collapse
just wondering why you sport the "Big Black" avatar?
And to those who think im being racist by calling him "Big Black", its his name on the Reality TV show with rob dyrdeck.

Remap Softkeys?

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....

Button Remapper for the HD2

With the very few hardware buttons on the HD2, it is nice to be able to program them to do multiple tasks, on double press, triple press, and long press.
Most button remapper apps I've tried don't work at all on HD2--like Doublelauncher, Vito Button Mapper, etc.
H button, not exactly a remapper, but adds some nice functionality to buttons, doesn't work on HD at all either.
I've only found one button remapper app to work at all on HD2, on some of the buttons--AE Button Plus.
Not completely happy with that though. I can only get it to work on 3 of the 7 buttons. Also, it is running in the background all the time, eating up memory, shortening battery life, etc. My HD2 seems to take a whole lot longer to boot up, since installing it.
I came across a thread of what sounds like an excellent button remapping app--
http://forum.xda-developers.com/showthread.php?t=554240
The only catch though--it is only for the Rhodium, not for Leo or other devices.
Is there anyone here capable and interested to adapt that button mapper for the HD2? (I'm not a developer myself. Sure would be great though, if someone created that!)
(I have the TMobile USA HD2, latest stock ROM, with latest CHT. I assume such an app would work on both Leo versions.)
-------------
PS In the absence of such an app for the HD2(other than AEB+), is there a way to remap HD2 buttons via the registry, to have different functions for double-tap, triple-tap, and long press?
http://forum.xda-developers.com/showthread.php?t=603186
jdwrrzmm said:
http://forum.xda-developers.com/showthread.php?t=603186
Click to expand...
Click to collapse
I am quite familiar with that thread, and participated in it a lot.
However, it does not address my question in this thread at all!
Look at the question in my OP. It says specifically--other than AEB+. The thread you pointed to is a thread about AEB+.
Also, I pointed to the thread of a particular app that is available for Rhodium, and asked if there might be a similar app for the HD2? (No, AEB+ is not a "similar app" to the Rhodium app.)
there is a function to remap buttons in pocketshield too
but i dont think that its better than AEButton Plus.
Watch this: http://www.youtube.com/watch?v=xmMU2b6TOEY#t=2m15s
On my HD2 stock it is only possible to remap: SEND, HOME*, START, BACK*.
*BACK only if not using Sense
*HOME will respond to remap action but will also take you to home
I second this request. The remapper for the TP2 the OP mentioned was absolutely perfect. You could remap down to the application level and could send button presses in multiple configurations to either the OS or the app in question. Fantastic. I hope that such an app can be developed for the HD2, which needs it even more than the TP2.
I didn't get arguments against AEB+. Yes, it is in-memory resident, but this is way things work - some app must listen keys, if you want map via registry - you just configure some app to listen and run functions. AEB is a one of such apps. And yes, AEB can hook each of 7 keys on HD2.
IamSav said:
... And yes, AEB can hook each of 7 keys on HD2.
Click to expand...
Click to collapse
But I believe it has same limitations, an AEB user writes this: (http://forum.xda-developers.com/showpost.php?p=7663680&postcount=123)
I wanted to assign a task manager to the backspace button, but it's useless, if it doesn't work as long as you are within Manila.
Click to expand...
Click to collapse
IamSav said:
I didn't get arguments against AEB+. Yes, it is in-memory resident, but this is way things work - some app must listen keys, if you want map via registry - you just configure some app to listen and run functions. AEB is a one of such apps. And yes, AEB can hook each of 7 keys on HD2.
Click to expand...
Click to collapse
This thread is not an argument against AEB+. I am using it, and purchased it, as it is the only way I have found to remap buttons on the HD2. (Certainly NOT all 7 like you claim, but this thread is not the place to discuss it. Look at the other thread that was referred to, which is a discussion of AEB+.
Please do not hijack this thread into a discussion of AEB+, which it is not about.
This thread is about that other button remapper which someone here on XDA developed for the Touch Pro, which sounds like a much better solution, asking if someone might like to port that to the HD2?
This thread is about t

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

[Q] Is there any way to bring up the Softkeyboard with a softkey?

Hi everybody,
Does anyone know a Method to bring up the softkeyboard with a longpress on the back key? Normally it would be done by longpressing the menukey, since the gs2 doesn't have one i'd love to bring up the keyboard, for eexample with a long press on the back key.
Thanks for some answers
DDeluxe
+1
I'd like to hide it. Do a web search and follow a link. Then get annoyed at how small the window is
Sent from my GT-I9100 using Tapatalk
ddeluxe said:
Hi everybody,
Does anyone know a Method to bring up the softkeyboard with a longpress on the back key? Normally it would be done by longpressing the menukey, since the gs2 doesn't have one i'd love to bring up the keyboard, for eexample with a long press on the back key.
Thanks for some answers
DDeluxe
Click to expand...
Click to collapse
Your phone doesn't have the menu key? How is that possible. Also it should bring up the soft keyboard I think.
RogerPodacter said:
Your phone doesn't have the menu key? How is that possible. Also it should bring up the soft keyboard I think.
Click to expand...
Click to collapse
I think he meant long pressing menu brings up search because there is no dedicated search button.
I'd be interested in a solution for this as well.
I'm inclined to think there is a way to make long press back bring up the KB for rooted devices only, and might already exist from SGS1 complaints. Samsung took a page from Apple, by which I mean they made a form over function compromise.
Sent from my GT-I9100 using XDA App
slice77 said:
I think he meant long pressing menu brings up search because there is no dedicated search button.
I'd be interested in a solution for this as well.
I'm inclined to think there is a way to make long press back bring up the KB for rooted devices only, and might already exist from SGS1 complaints. Samsung took a page from Apple, by which I mean they made a form over function compromise.
Sent from my GT-I9100 using XDA App
Click to expand...
Click to collapse
Don't take this the wrong way, but I don't get how they made a form over function compromise like you said.
Unless I am missing something, I am assuming there is a field to type in whenever someone needs the keyboard. so what exactly would be the need for a long press on the back button, if you can just touch the field which brings the keyboard up?
Can someone explain to me if I missed something?
Sorry i ment that the galaxy s 2 doesnt have a dedicated searchbutton. Samsung decided to use a longpress on the menubutton as the searchbutton, so you cannot bring up the keyboard with the longpress menubutton. Sorry for the confusion!
And now an explenation for the question "why would you need it?":
If I want to play a HTML5 or a flash game within the Browser, where a keyboard (or only the arrowkeys) is needed, i can't bring it up without the "longpress menukbutton"...

Categories

Resources