Tweks for Windows Mobile - Windows Mobile Development and Hacking General

How do I go about writing a program that does the following?
- phone to vibrate when a outgoing call is connected
- phone to lock when i press and hold and hang up button

s050399b said:
How do I go about writing a program that does the following?
- phone to vibrate when a outgoing call is connected
- phone to lock when i press and hold and hang up button
Click to expand...
Click to collapse
Windows mobile already does this...

NRGZ28 said:
Windows mobile already does this...
Click to expand...
Click to collapse
not my Samsung i200; it doesn't vibrate when outgoing calls are picked up
it doesn't have a key to lock device; need to wait 5 seconds for it to auto lock or press the power button and select lock

Why don't you just simply use S2U2?

didn't know about this software. samsung i200 is a smartphone, doesn't have touchscreen.
I'm afraid it can't be use....

s050399b said:
How do I go about writing a program that does the following?
- phone to vibrate when a outgoing call is connected
- phone to lock when i press and hold and hang up button
Click to expand...
Click to collapse
the first can be done via the registry. I'm not sure where its located on your Samsung i200. try poking around in the HKLM files of your registry and see if you can find a string called "Connecting Vibration" and change it from 0 to 1. on my htc pro2 its located in HKLM\Software\HTC\PHONE\PhoneExtendSetting
the second can be found in your phone's settings. start, settings, in the "personal" tab you'll find "buttons" settings. you should be able to change the "Long Press End Key" function to lock device.

Didn't have the phone under HKLM\Software\Samsung
and the second one, didn't have personal tab or button settings,.......

Related

Device lock - am I blind?

For the life of me I can't find the device lock in settings, you know the one that gives you the option to lock all buttons except power button on device lock.
I would like to be able to turn the machine on by pressing something other than the power button but it seems it cannot be done.
Am I missing something?
cojones said:
For the life of me I can't find the device lock in settings, you know the one that gives you the option to lock all buttons except power button on device lock.
I would like to be able to turn the machine on by pressing something other than the power button but it seems it cannot be done.
Am I missing something?
Click to expand...
Click to collapse
I have managed to use the HTC lock but don't know how i did it. I do think that a good lock would be a plus for this phone.
donbronzi said:
I have managed to use the HTC lock but don't know how i did it. I do think that a good lock would be a plus for this phone.
Click to expand...
Click to collapse
What do you mean by 'HTC lock'? Where did you find this on the HD? I'm looking for the setting where you specify whether you want to lock all buttons or not?
In Settings > Buttons, go to the End Key tab and select the action you want when holding the End key. You can mae it pop up a menu if you want...
One of the options is Lock device.
AFW said:
In Settings > Buttons, go to the End Key tab and select the action you want when holding the End key. You can mae it pop up a menu if you want...
One of the options is Lock device.
Click to expand...
Click to collapse
hmm, yes, i found this but that is to lock the device using the long press end key.
What I am looking for is the setting where (at least on the diamond) you specify that the device locks all the buttons a) all the time b) none of the time or c) only when device is locked. i'm sure it was called button lock or similar.
That´s my problem, too. I would like to power on my HTC by using the volume buttons because the "power on" button is so small. Too small for my fingers
This = power on the HTC by using the volume button = is a possible option on the HTC Kaiser und Diamond.
Another question: Does a registry key for the button lock exist?
Thanks in advance

Disable hardware buttons for incoming call

Anyone know how to disable the hardware buttons for the incoming call screen?
I only want to answer/reject calls with the slider, not the hardware buttons as I sometimes touch them by accident while getting the phone out of my pocket.
I've tried PocketShield but didn't like it, although it was able to disable the hardware buttons. Any other suggestions?
Have you already tried s2u2? The slider can receive/reject incoming calls and you also have options to disable the hardware buttons. Works great on my elf.
I tried it some days ago, couldn't get it to work the way I wanted it to, mainly because I don't want to use the locking part. I always lock my device with the power button and I only wanted to have the ability to disable the hardware buttons for incoming calls.
After your message, I decided to install it again and give it another try. Changed some of the settings and I think I finally managed to get it working the way I want to!
It's a bit of a memory consuming app for just disabling the hardware buttons for incoming calls, but hey, it works
Thanks!
If anyone finds a solution without using S2U2, please let me know!
Ok, I have uninstalled S2U2 again. Even though it did do the job, it was also a memory consuming application just for disabling the answer/reject keys during incoming calls and I want to keep my device as clean as possible.
I have searched for hours trying to find a solution to this what I think is a very common problem. How many of you have accidentally accepted or rejected calls because of the hardware buttons? In my opinion, HTC should have thought about this and provide a solution for it.
Anyone with a better solution than S2U2?
Thanks for your input!
New version 1.40 of S2U2 uses MUCH less battery. I almost don't notice, it's running. Great program at least for me.
Since your previous post S2U2 1.4 has been released. This is supposed to address the issues you mention.
can you tell me how you have set your settings for just disabling the hardware buttons for incoming calls in s2u2 ? Thanks
I've used AE Button Plus to disable the 'Answer Call' an 'End Call' hardware keys as I had the same annoying problem of accidentally rejecting a call when taking the device out of my pocket. This works well for me and have now enabled the keys to turn wifi and bluetooth off and on with 3 taps.
Thanks everyone!
I wasn't aware of the latest S2U2 version and I almost gave it another try until I read Anfloyd's post.
I did look at AE Button Plus before, but didn't think it was capable of doing what I wanted: disable the hardware buttons during incoming calls, but still have them functional when there isn't an incoming call (such as showing the phone dial screen which it does by default).
When I looked at the AE Button Plus website, I noticed I couldn't configure the buttons based on the current active screen/program. So, even though I knew I could disable the hardware buttons, I thought I would then loose the whole functionality of them..and that would make the answer and reject buttons on my device useless.
BUT, after reading your message Anfloyd, it got me thinking..I don't need to configure it based on the current screen/program. I can just disable the buttons for 1 tap..and assign programs for them for 3 taps for example.
So, now I have this:
- 1 tap: do nothing. This way, both the answer and reject buttons are not working during incoming calls and I can only use the slider to accept/reject calls.
- 3 taps for answer button: start the phone application.
- 3 taps for reject button: nothing yet, but I'll find something
This is a solution I can work with! I have only tested it for a short time, so if it turns out that AE Button Plus is causing problems I'll give the latest S2U2 another try, but so far this seems to be working just fine.
Thanks again for your input!
ChrisVDD, those options can be found in the S2U2 settings. I don't have S2U2 installed anymore so I don't remember the exact settings. I just disabled all locking features that I didn't need, selected to disable the hardware buttons and chose to use the slider. Give it a try, you should be able to sort it out. If you can't, let me know and I'll install S2U2 again to see what settings you need.
My config in AEBplus
left hardware key
1 tab do nothing
2 press green key
right hardware key
1 tab do nothing
2 press red key
3 rotate display
PhaseIV said:
My config in AEBplus
left hardware key
1 tab do nothing
2 press green key
right hardware key
1 tab do nothing
2 press red key
3 rotate display
Click to expand...
Click to collapse
Would you so kind please and tell me how to configure more than 1 actions to a button.
When I choose green phone button i can only say disable, but dont now how to get another function to work with same button.
I would like to have :
tap 1x = do nothing,
tap 3x = start phone application (normal behaviour.
Would you so kind please and tell me how to configure more than 1 actions to a button.
When I choose green phone button i can only say disable, but dont now how to get another function to work with same button.
I would like to have :
tap 1x = do nothing,
tap 3x = start phone application (normal behaviour.
Click to expand...
Click to collapse
First, select and hold "Green Phone button".
Then do this from top to bottom:
3. Handle by AEBPlus
1. Single press
1. None
..and select Ok
Then select and hold "Green Phone button" again.
Do this from top to bottom:
3. Handle by AEBPlus
3. Triple press
13. Press Green Button
..and select Ok
Then File > Save and Exit
That's it
GryphonLeon said:
First, select and hold "Green Phone button".
Then do this from top to bottom:
3. Handle by AEBPlus
1. Single press
1. None
..and select Ok
Then select and hold "Green Phone button" again.
Do this from top to bottom:
3. Handle by AEBPlus
3. Triple press
13. Press Green Button
..and select Ok
Then File > Save and Exit
That's it
Click to expand...
Click to collapse
Thank you for your fast reply, now It works like I wanted it to do.
Is it possible to end call using red hardware button but not to ignore it before answering? I tried AEBplus and it works like it should but that's not all I needed.
danum said:
Since your previous post S2U2 1.4 has been released. This is supposed to address the issues you mention.
Click to expand...
Click to collapse
The problem I have with s2u2 is that I cannot mute incoming calls... The voulme buttons are locked... the touch screen is locked and mute on face down also does not work....
Maybe A_C will allow us which buttons to lock in the next release...

Prevent "answer" button from dialling

The Take-Call/Answer button appears to haveseveral functions:
It switches to the phone app (Good)
It answers an incoming call (good as prevents having to use the slide)
It dials the last number in the Calls list display (bad)
I keep finding that I double-press the button by mistake and end up dialling someone without intending to do so.
Is there any registry hack that can eliminate this last function. I have tried using Mobile Magic to assign the key to "switch to phone app" but then I can't use it to answer an incoming call which is a bit of a pain.
Or do I need to find an alternative dialler?
personally I find that disabling the green button from answering calls is a good thing - it means that you don't accidentally press it when taking it out of your pocket for example! you could try AE Button Plus and set long press of the green button to "press green button" and short press to "launch program" -> "phone" that way if you accidentally double-pressed the green button it wouldn't call the person, but would still load the phone dialer and could still be used to answer calls, just holding buttn instead of pressing...
Closest solution I can think of...
Sounded promising - thank you. Unfortunately I can't get a long keypress to generate an "green button press". I have decativated the usual long-keypress action but still no joy.
I even tried implementing a "double keypress" for answer but it only works sporadically.
Slider for Calling?
The Take-Call/Answer button appears to haveseveral functions:
* It switches to the phone app (Good)
* It answers an incoming call (good as prevents having to use the slide)
* It dials the last number in the Calls list display (bad)
Click to expand...
Click to collapse
after my touch hd didn't make an international phone call of several minutes today from my pocket, I didn't realize how right were your words.
So, I unbinded the Green Phone Button with AEB Plus and I reassign "Key 1 (Press)" to act as Green Phone Button. From now only pressing for a while the talk/send button will actually call the dialer.
However, the most gentle touch on a contact in the default dialer will make a call... which most of the times really annoys. What would be really cool and solve many problems is to use a slider for making the phone call (not only for answering). I searched conscientiously in the forum and I found no solution.
An alternative solution would be to use other contact manager, like Yota Contacts, for example. But, having a slider for making a call would be so cool

How to make shortcut to "lock device"??

Is there anyway to make a shortcut to "lock" in Start --> lock ? No app works fine for me, so I have to do it manualy. Thanks
Several options:
1. Set your long press end-key to map to lock.
2. If you use WinMo 6.5, the left soft key in the start menu is for lock.
3. Try this.
I got another question... is there anyway to change START --> LOCK to a different program?
I use S2U2 and I would like to have the LOCK soft key after going into the Start Menu to point to S2U2 instead of the default lock application.
catvuvn said:
Is there anyway to make a shortcut to "lock" in Start --> lock ? No app works fine for me, so I have to do it manualy. Thanks
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=505032
Tap the power button, it locks. Works great. I hated this phone until I got that app, because I kept calling people for no reason.
sillymcnasty said:
http://forum.xda-developers.com/showthread.php?t=505032
Tap the power button, it locks. Works great. I hated this phone until I got that app, because I kept calling people for no reason.
Click to expand...
Click to collapse
i just edited a registry setting for it to automatically lock when i hit the suspend button.

[SOLVED] LEO answer key rotates phonecanvas during incoming call

I have this weird problem where my answer key will rotate my phone canvas when there is an incoming call. This means, i have no choice but to use the slider to accept the call.
When the phone is not ringing, the answer key behaves normally i.e. On home screen, pressing it brings up phone, and pressing again will dial the number.
Details:
LEO with my home-cooked ROM. (Base 3.04 with files to make android compatible, 3.02 Ext with few from huasan)
Phone Canvas Enhancement 2G v4.2.62520142921.0
Phone_Canvas_Enhancement_2G_4_2_62520142921_0_Sealteam6
I have also checked Settings-Personal-Buttons. Only entry here is Send key(Hold) = <Context Menu>
Any suggestions would be greatly appreciated. Thanks!
Sounds like long press send key is set to rotate sreen.
If so you should disable the long press function for send key to get it working with incomming calls.
patensas said:
Sounds like long press send key is set to rotate sreen.
If so you should disable the long press function for send key to get it working with incomming calls.
Click to expand...
Click to collapse
You are right! I thought it could never be the long press key as it only behaves such when there is an incoming call. I found the long press shortcut in my Apps ext folder.
Thanks patensas!
you're welcome

Categories

Resources