Hard button end call - Epic 4G Android Development

Per Cicada : "Just an fyi, this option is in the accessibility settings menu in froyo. "
-Thanks for the tip!
in "/system/usr/keylayout/s3c-keypad.kl"
change POWER to ENDCALL for a hard button end call.
I used notepad++ to make the edits.
Screen off/power off works like normal after you end your call!

Ok, the original is listed as:
Code:
key 58 POWER WAKE_DROPPED
What should it end up being? key 58 ENDCALL WAKE_DROPPED? Or.....??
edit: Ok, changed to above... at first it didnt seem like it did anything, but then I realized that I had to reboot it for it to take effect Now I just hope I dont accidentally hit that button in the middle of a call.

Yes
Koadic said:
Ok, the original is listed as:
Code:
key 58 POWER WAKE_DROPPED
What should it end up being? key 58 ENDCALL WAKE_DROPPED? Or.....??
Click to expand...
Click to collapse
Yes just replace "POWER" with "ENDCALL" and your good to go

also
Also Pressing Volume UP+Power+Camera = Instant Reset for those who didnt know

madgadjt said:
in "/system/usr/keylayout/s3c-keypad.kl"
change POWER to ENDCALL for a hard button end call.
I used notepad++ to make the edits.
Screen off/power off works like normal after you end your call!
Click to expand...
Click to collapse
Did you do this because the end call button stops working randomly after the proximity sensor is disengaged? I noticed this on my first Epic AND my replacement. Had to put the phone back to my head and pull it away to get the touch screen back to functional.

hrm
Actually no lol never had that issue.. I had a samsung moment before my epic and really missed the hard answer/end buttons, I travel and talk on the phone in the car alot, and didnt like to look at my phone to end the call.. I will figure out something for a hard button answering as well

I don't mean to be a smarta$$ but you didn't need to put the phone back to your head. You can just cover the proximity sensor with your finger. I know this doesn't pertain to the op but just fyi.
Epic Proportions

scriz said:
Did you do this because the end call button stops working randomly after the proximity sensor is disengaged? I noticed this on my first Epic AND my replacement. Had to put the phone back to my head and pull it away to get the touch screen back to functional.
Click to expand...
Click to collapse
If this is an all around issue for epics then let me know people and I will relabel my post as a workaround

If this is an all around issue for epics then let me know people and I will relabel my post as a workaround
Click to expand...
Click to collapse
I have never had this problem on either of the two epics that I/wife own. So I don't think it's an issue for all epics. On the other hand though, this is very neat, and I wouldn't mind having a hard end call button. Thanks alot OP!

madgadjt said:
Also Pressing Volume UP+Power+Camera = Instant Reset for those who didnt know
Click to expand...
Click to collapse
You. Are. My. Hero. I had no idea! What a time saver.

I was thrilled when I figured that out myself lol

Just an fyi, this option is in the accessibility settings menu in froyo.

Well that ends that topic...
Sent from my SPH-D700 using XDA App

cicada said:
Just an fyi, this option is in the accessibility settings menu in froyo.
Click to expand...
Click to collapse
Is this only in DK05 or 17? because I dont see it on my phone running DJ29... All it says is "No accessibility applications found. You do not have any accessibility applications. You can download a screen reader from Android Market. Click OK to install screen reader."

I did this fix in 2.1 and carried it over to 2.2, didnt see the change in accessibility

Click Cancel on the 'No accessibility applications found' prompt, this will drop you to the accessibility menu where the option is, a checkbox labeled "The power key ends calls"

I had that end call problem as well with my first epic and have the same problem with my replacement. How can I do this 'workaround' on my eclair? i dont have froyo.. running bakedsnack rom+kernel.. thanks in advance..

y2bangali said:
I had that end call problem as well with my first epic and have the same problem with my replacement. How can I do this 'workaround' on my eclair? i dont have froyo.. running bakedsnack rom+kernel.. thanks in advance..
Click to expand...
Click to collapse
Just follow the instructions in the original post. Worked great on mine running syndicate 1.0.2/xtreme

This works great! I knew about the accessibility feature in the newer Froyo ROM, but never knew it could be applied to Eclair. EXCELLENT!
Also, the tip for Vol-up + Power + Camera was also an excellent tip for insta-reboot! Thanks boss!

scriz said:
Did you do this because the end call button stops working randomly after the proximity sensor is disengaged? I noticed this on my first Epic AND my replacement. Had to put the phone back to my head and pull it away to get the touch screen back to functional.
Click to expand...
Click to collapse
Ugh I hateeeee that. And sometimes, the proximity sensor would act up while I'm on the phone and my cheek would end the call.
I hope it gets fixed lol
Sent from my SPH-D700 using XDA App

Related

Lock Screen during calls

Greetings all.
Does anyone know of a good way of locking the screen while making a phone call? I've tried proximity sensor, which does not work on my phone. I currently have my time out setting at 15 seconds, but that does not work either. Any help would be greatly appreciated, I'm sick of face dialing/hanging up.
Proximity sensor does not work at all for me, either. I have been begging and begging people on the forum to help come up with a way to remove or disable the huge "End call" button, as I am constantly hanging up on people with my face.
It is the number one suckiest thing about my Hero right now.
oh, i am looking for this kind of software but found nothing
Probably one of the best "answer/hang up" functions I saw was with SIPdroid. Slide up to answer, slide down to hang up. Of course, the data service is not good enough to always use that though.....
I put the notification bar down down, but it seems almost buggy, sometimes the notification bar stays down and sometimes it just moves up by itself again.
Hit the home button to get out of the dialer window...
Nanan00 said:
Hit the home button to get out of the dialer window...
Click to expand...
Click to collapse
And, then, enjoy the vibrations as you move your homescreen icons around with your face.
Why is there so much resistance to figuring out how to either lock the screen during a call or just disable or remove the stupid soft "End call" button?
Is it significantly more difficult than changing the button color or creating a ROM?
doojer said:
And, then, enjoy the vibrations as you move your homescreen icons around with your face.
Why is there so much resistance to figuring out how to either lock the screen during a call or just disable or remove the stupid soft "End call" button?
Is it significantly more difficult than changing the button color or creating a ROM?
Click to expand...
Click to collapse
Home button is cool if you happen to only touch the end call button and never anything else. I personally called a friend and sent 4 blank texts to someone, don't ask me how....
Home button will cause as many problems. Notification bar coming down is the best way I've found....
an even better way. hold the menu button down.
the keyboard is a great shield.
Avalaunchmods said:
an even better way. hold the menu button down.
the keyboard is a great shield.
Click to expand...
Click to collapse
I will try that one. Seems like it could work, thanks.
Well, google is my friend, i don't know why I doubted ye...
Screen Suite does it for me. The app is $1.99, but it has a setting where it automatically locks the screen on calls.
A bluetooth headset negates that problem completely......
muppetman462 said:
Well, google is my friend, i don't know why I doubted ye...
Screen Suite does it for me. The app is $1.99, but it has a setting where it automatically locks the screen on calls.
Click to expand...
Click to collapse
How do you like it? I found it and it seemed kind of bloated with a lot of features I don't need. Does it eat up memory/power?
I am interested....
I don't get why you guys are having so many issues with this, my phone screen locks at the default of 30s when in calls, it has done this as long as I have had the phone.
Nanan00 said:
I don't get why you guys are having so many issues with this, my phone screen locks at the default of 30s when in calls, it has done this as long as I have had the phone.
Click to expand...
Click to collapse
Mine usually does. Unless it thinks I'm pressing things with my face, which keeps it awake.
That is... if my face doesn't end the call by the time the 30 seconds is up. My guess? It's probably the shape of our faces?
I just try to hold the bottom part of the screen away from my face. Once the screen turns off I've never hung up on someone.
mrcharlesiv said:
I just try to hold the bottom part of the screen away from my face. Once the screen turns off I've never hung up on someone.
Click to expand...
Click to collapse
I do this too. It's very annoying.
Avalaunchmods said:
an even better way. hold the menu button down.
the keyboard is a great shield.
Click to expand...
Click to collapse
Hmm another good one! Any keyboard presses do anything nasty? I'm on swype but I wonder if hitting the mic button on the hacked keyboard would do anything annoying.
Thanks for the tip!
My main problem is when my wife calls, and wants to talk to my son. His face is a lot smaller, and well, everything get screwed up when he uses the phone. As for the program, it does have a lot of features, but all I did was have it set to auto-lock on phone calls. I still have my default vanilla lock screen.
Lack of a both a proximity sensor and dedicated screen-off button is this phone's single unforgivable flaw.
I will never again buy a touchscreen device without at least one of these.

[ How-To ] Disable Search Button

For those that don't use it for anything and want to disable it cause you accidently hit it 10 times a day, flash the disable zip. If you want to enable it again, just flash the default zip
does that take care of the button completely or just it's long-press function?
Nice work! Do you think you could make it so i can hit the volume up button to bring the phone out of suspend instead of hitting the power button?
Both of the .kl files are the same...just giving ya a heads up before someone restores the default and doesn't have their search button back...but nice find. Thanks!
The default one was the one I forgot to put in there but it's fixed now
frifox said:
does that take care of the button completely or just it's long-press function?
Click to expand...
Click to collapse
Completely disabled
Besides disabling the search button, is it possible to map it to do something else like launch internet or something of that sort?
nice i seen a few people complaining that they kept hitting it all the time. good work bro
stylz3 said:
Besides disabling the search button, is it possible to map it to do something else like launch internet or something of that sort?
Click to expand...
Click to collapse
I tried making it an end button...but no go...maybe I missed something...
RavenII said:
I tried making it an end button...but no go...maybe I missed something...
Click to expand...
Click to collapse
Its probably not built into the Sense build on the device. It used to be, but idk anymore since it isn't required by Android 2.0+
Also, to the people that want it to do something else:
See my post here. My guide is from way back in the G1 days, but all the same things apply here. Just change file names. An interesting use would be to change the search button to a camera button
Or see Decad3nce's wonderful writeup on the functions you can assign here. For the CDMA Hero, again just use your judgement. Use the right files
Also, my app Search2Play will soon be making it's way to the Evo now that we have usermode system partition access. Check it out here
Nice! Thanks for this, I always hit that button by accident.
Thank you! That damn button annoys the hell out of me everyday
Strange. I love the search button and use it all the time to text, call, launch apps etc.
Glad this is helpful to all the rest!
thanks!! i hit that damn button all the time
Calkulin said:
For those that don't use it for anything and want to disable it cause you accidently hit it 10 times a day, flash the disable zip. If you want to enable it again, just flash the default zip
Click to expand...
Click to collapse
this looks sweet!
calkulin, would you be okay with me adding this to the online kitchen im slowly building for the EVO?
i'll link it back to this thread and credit your name.
If your looking to use the volume down you can just open the keymap~.kl file included in the zip with wordpad and swap the volume down and power or how ever you like. Just realize that the cap buttons won't work in place of the hardware buttons.
I posted a fix that swapped the volume down and the power button.
Nice fix tho.
joeykrim said:
this looks sweet!
calkulin, would you be okay with me adding this to the online kitchen im slowly building for the EVO?
i'll link it back to this thread and credit your name.
Click to expand...
Click to collapse
Yeah that's fine, I don't mind
joeavery2 said:
If your looking to use the volume down you can just open the keymap~.kl file included in the zip with wordpad and swap the volume down and power or how ever you like. Just realize that the cap buttons won't work in place of the hardware buttons.
I posted a fix that swapped the volume down and the power button.
Nice fix tho.
Click to expand...
Click to collapse
Is it possible to get the volume to do the wake feature while also keeping the volume buttons working like normal?
Calkulin said:
Yeah that's fine, I don't mind
Click to expand...
Click to collapse
Thanks Calkulin, its been added! Great work as always!
newbie2369 said:
Nice work! Do you think you could make it so i can hit the volume up button to bring the phone out of suspend instead of hitting the power button?
Click to expand...
Click to collapse
Get no lock from the market.
Volume down takes you streight into the phone no lock screen.

[Q] Search key annoyances

Hello all:
I have been experiencing a particularly vexing problem with my captivate. At random intervals, the search interface displays on the screen without any of the buttons on the bottom of the phone being pressed. This seems to be particularly true when holding the phone in landscape (playing Angry Birds). My hand is nowhere near the end of the phone with the buttons, so I don't understand how this can be happening.
Any advice/help that can be offered will be appreciated.
T
Happens on mine every now and then too, usually when I'm driving and the officer is mounted on the windshield, so my hands are no where near it.
I've seen other posts about it. I don't think there's any fix except a replacement.
Sent from my SAMSUNG-SGH-I897
Officer = phone. Oh swype.
Sent from my SAMSUNG-SGH-I897
capacitive button problem. I have it too but on the menu key. Rare but very annoying. Perhaps its dust?
There are quite a few people complaining about it.
even my search key gives this issue.....isnt there a way to disable that key..??i rarely use it....
btw, wouldnt it be cool if the search key was changed to a camera key for takin pictures.....its way lot easier than focusing and clicking by tapping on the screen...
neo_31591 said:
even my search key gives this issue.....isnt there a way to disable that key..??i rarely use it....
btw, wouldnt it be cool if the search key was changed to a camera key for takin pictures.....its way lot easier than focusing and clicking by tapping on the screen...
Click to expand...
Click to collapse
Hmm, if yours has the problem, it would be rather detrimental to performance if you were to map it to camera shutter, wouldnt it?
Thanks to all. I had searched but hadn't seen anyone that had the same problem (time to brush up on my search skills?). I will consider a replacement, because it really sucks when I have a perfect shot in Angry Birds and the search interface comes up.
T
My original Captivate had a problem where the Home button would get "stuck".
The phone would start buzzing and going to the Home screen violently and over and over again.
I got it exchanged.
Probably a similar issue.
Yep, same problem here. Although I haven't seen it happen since I went back to stock and did the OTA update through Kies.
Not sure if that actually is why it's not happening though.
you can edit the Melfas-touchkey.kl file and disable the search key
system/usr/keylayout/Melfas-touchkey.kl
neo_31591 said:
even my search key gives this issue.....isnt there a way to disable that key..??i rarely use it....
btw, wouldnt it be cool if the search key was changed to a camera key for takin pictures.....its way lot easier than focusing and clicking by tapping on the screen...
Click to expand...
Click to collapse
i could not get the camera to work when i tried, but may give it another shot.
impulsek2 said:
you can edit the Melfas-touchkey.kl file and disable the search key
system/usr/keylayout/Melfas-touchkey.kl
Click to expand...
Click to collapse
You can do better than that; you can assign it to the CAMERA, just replace the text SEARCH with CAMERA in that file and reboot. I tried it, it works, and pressing the key while in camera mode takes the picture! It's quite nice actually. Long press for voice search no longer works, however.

Disable Soft Capacitive Buttons

Since i use vegan tab and have all the soft buttons on the screen at all time (home, menu, back) is there anyway to disable the capacative ones so that i dont actually hit them while holding the tab?
bump ^^^ anyone??? robeet?
I asked something like that earlier, but no one responded. There's a thread under Themes and Apps about Settings Catcher. Maybe a concept like that could be used, in the opposite way (assign invalid activities), to essentially make the keys do nothing?
Jim
This is definitely possible to do.
Use Root Explorer to go to /system/usr/keylayout. I am guessing it's the file gpio-keys.kl in that directory.
For a guide as to how this works, check out this link: http://forum.xda-developers.com/showthread.php?t=695936
I haven't tried it yet, but I'm guessing you can map those keys to something like ENDCALL that doesn't have a meaningful activity associated it with it on our tablets. Or maybe there's a null activity or something like that.
You'll have to experiment a bit. I haven't tried any of this yet myself.
hmmm, pull out the device back and unclip it?
Seriously though, I'm not certain. Possibly it's linked to the file /usr/keylayout/tegra-kbc.kl. So you might be able to REM out some of these and it could actually disable the tactile buttons.
How would you get out of a full screen app that hides the status bar?
WickedStyx said:
How would you get out of a full screen app that hides the status bar?
Click to expand...
Click to collapse
thanks, was thinking the same lol
WickedStyx said:
How would you get out of a full screen app that hides the status bar?
Click to expand...
Click to collapse
pmcnano said:
thanks, was thinking the same lol
Click to expand...
Click to collapse
Yeah i didnt think of that. damn... its just annoying when im in the browser or something and i hit it by accident
I was hoping to find an app/hack that would let me set the duration of a soft key press required to register as a stroke. It would then be easy to make a widget to turn the delay on and off for times when you know you will be more prone to bump the buttons.
TheMongol said:
I was hoping to find an app/hack that would let me set the duration of a soft key press required to register as a stroke. It would then be easy to make a widget to turn the delay on and off for times when you know you will be more prone to bump the buttons.
Click to expand...
Click to collapse
I'm bumping this to see if anyone has any ideas on the above or disabling them completely. I (or one of my kids) *always* bump one of the capacitive buttons while using the gtab. It is frustrating, infuriating even, when you're in the middle of something and BAM, you have to start over.
TIA!
If you could get rid of the buttons you can just use button savior. I'm using the zeam launcher in fullscreen and barely ever touch the buttons on the side now
wordweaver27 said:
I'm bumping this to see if anyone has any ideas on the above or disabling them completely. I (or one of my kids) *always* bump one of the capacitive buttons while using the gtab. It is frustrating, infuriating even, when you're in the middle of something and BAM, you have to start over.
TIA!
Click to expand...
Click to collapse
I use 'Button Remapper' to map the hard buttons to 'focus' which effectively disables them. I then use 'Buttton Savior' to provide on-screen buttons.
Works well and ends the frustration of the buttons not being back-lit or accidently hitting them when holding the tablet.
Thank you! I think that will do the trick. Do you use the galaxy tab version?
ETA: just searched the market from my Droid and saw a third vanilla version of button remapper. I will go with the assumption that its this one.
Sent from my Droid using XDA App

Multitasking look alike???

Hey guys.. i was playing with my WP7-HD2 and found that when you press the back button when on home screen it goes to all you recent apps you opened or edited before....Keep pressing the back button will go further more back! I Think this is because when i wanted to exit an app i pressed the start button(to go to Home screen instantly) and not the back button; so it stays in memory/or recording your steps you did before!
Cool...I didn't knew that!!!
Ok sorry guys...Any mod to transfer this topic into the below one? thanks!
http://forum.xda-developers.com/showthread.php?p=10678521#post10678521
arkatis said:
Hey guys.. i was playing with my WP7-HD2 and found that when you press the back button when on home screen it goes to all you recent apps you opened or edited before....Keep pressing the back button will go further more back! I Think this is because when i wanted to exit an app i pressed the start button(to go to Home screen instantly) and not the back button; so it stays in memory/or recording your steps you did before!
Cool...I didn't knew that!!!
Click to expand...
Click to collapse
Yes, it's somewhat multitasking, well I would like to get some tiles, about programs I closed or visited recently, but back button is better than nothing :]
arkatis said:
Hey guys.. i was playing with my WP7-HD2 and found that when you press the back button when on home screen it goes to all you recent apps you opened or edited before....Keep pressing the back button will go further more back! I Think this is because when i wanted to exit an app i pressed the start button(to go to Home screen instantly) and not the back button; so it stays in memory/or recording your steps you did before!
Cool...I didn't knew that!!!
Click to expand...
Click to collapse
Yep, that's why MS decided not to implement 'real' multitasking as what they have done replaces 90% of what multitasking is used for on a phone.
All they need to do is force developers to implement this tombstoning and allow audio to be implemented as a background service.
The problem with this is that applications unload their assets. When you go back into an app or game, it has to load everything back up.
Current solution is idiotic in many cases.
When I'm on Facebook and want to reply to sms, after going BACK everything has to be loaded again. This applies to many situations and is ridiculous basically.
So the current solution replaces about 30% of what is needed on todays smartphone.
doministry said:
Current solution is idiotic in many cases.
When I'm on Facebook and want to reply to sms, after going BACK everything has to be loaded again. This applies to many situations and is ridiculous basically.
So the current solution replaces about 30% of what is needed on todays smartphone.
Click to expand...
Click to collapse
I will live with it! No worries...But i kinda like it though... MS WP7 developers lags out of ideas at the moment! (or from way back)
Yeah, unfortunately it's mainly a developer prolem.
Very few are actually implementing the things that makes WP7 really useful:
Push Notifications, App Tombstoning and Live Tiles.
I hope we see more work done on these aspects in the future.
Jonno2343 said:
I hope we see more work done on these aspects in the future.
Click to expand...
Click to collapse
Hope so mate.. But if we doesn't.....For sure we are going to find Epic works here!

Categories

Resources