NEW VERSION 2.3
*** this application is no longer developed. Last version (2.3) is attached to this post ***
I didn’t find freeware application for assign more applications to one HW button using hold-button, so I decided to write my own. Here is result.
Application HButton can be used to assign more applications to one HW button. If you press the button, the first application is run. If you hold button till device vibrate, second app is run. If you hold button till second vibrate, third app…. And so on, and so forth.
Usage:
* Install attached cab.
* Run HBSetup (Programs - HButton - HBSetup), setup up to 5 applications to Button1
* Start Setting – personal – Buttons and assign HButton1 to any HW button.
Now you can run all selected applications using this one HW button.
Any topics welcome.
Hundera
[18.5.2007] UPDATE
I uploaded new version 1.2.
Contains new options for starting applications
* vibrate
* beep
* display name on screen
[22.5.2007]
Version 1.3
* "unlimited" num of apps on one button
* <None> application
* option to cycle thru applications
* option to notify first application
[25.5.2007]
Version 1.5 - please uninstall previous version (not necessary on WM5, WM6)
* Fix: Bugs in installation and setup on devices with localized ROMs
* Fix: Unable to remove first app in list
* Fix: Not working for some buttons on Universal
* Could be installed on Storage Card (Only HBSetup.exe)
* <Clock> application
* Positioning of info box.
[2.6.2007]
Version 1.6
* <Today> application
* HButtonTask - task switcher like alt+tab. (first app is always today)
[6.6.2007]
Version 1.7 - fixed bugs with PHM keys
* Possibility to start application with params
* HBSetup search for links in linked directories
* HBSetup doesn't assign .lnk file, but parse it and assign exe with params
Vesion 1.8 - added some "applications"
* <Ok/Close> (minimize app)
* <Quit> (terminates app)
* <Start Menu>
[7.6.2007]
Vesion 1.8.1 - Fixed bug with param parsing
[30.9.2007]
Version 1.9.1
* <Back> - switch to previously opened application
* HButtonTask - first item in list could be Today or previously opened application
* Fixed: Device reboots when <QUIT> is used on "Programs"
[23.10.2007]
Version 2.0
* <Rotate Left>
* <Rotate Right>
* assignment to HW buttons could be done directly in HBSetup
* Label configuration - size, font size, colors
* Fixed: install dir in localized ROMs
[29.10.2007] Version 2.1
* <Toggle BT>
* <Toggle SIP>
* Fixed: refreshing top window after Rotate
[10.1.2008] Version 2.2
* <Toggle Sound (only WM5,WM6)>
* <Toggle WiFi>
* Fixed: list of applications on PPC2003
* Fixed: directory browsing in HBSetup
[15.5.2008] Version 2.3
* Import / Export of settings
* 2 more buttons (HButton6 & HButton7)
* Browse... select any file to be started by HButton
.NET2.0 necessary
One more remark.
.NET 2.0 is necessary to use HBSetup. If you want to use HButtons without .NET, you can install it from cab and setup it manually using registry editor.
For Notify and flags use sum of numbers for options you want. for example notify=5 means vibrate and display name
Code:
[HKEY_CURRENT_USER\Software\HButton]
Delay : DWORD [I]delay in ms between applications start. (Optional, Deafult 500)[/I]
Notify : DWORD [I]type of notification. 1 - vibrate, 2 - Beep, 4 - display name. (Optional, default 1)[/I]
[HKEY_CURRENT_USER\Software\HButton\Button1]
flags : DWORD [I]flags for this button. 1 for cycle thru apps, 2 for notify even first app, 4 custom delay. (Optional, default 0)[/I]
Delay : DWORD [I]delay in ms between for this button. Only when custom delay is set. (Optional)[/I]
NItems : DWORD [I]number of applications assigned to HButton1[/I]
Item0 : STRING [I]first application[/I]
Item0_name : STRING [I]displayed name of first application. (Optional)[/I]
Item0_param : STRING [I]Parameters of first application. (Optional)[/I]
Item1 : STRING [I]second application[/I]
Item1_name : STRING [I]displayed name of second application. (Optional)[/I]
Item1_param : STRING [I]Parameters of second application. (Optional)[/I]
…
[HKEY_CURRENT_USER\Software\HButton\Button2]
[I].. same for others buttons[/I]
[HKEY_CURRENT_USER\Software\HButton\ButtonT]
flags : DWORD [I]flags for task. same as other flags + 8 for show next application + 16 for first item is last opened application. (Optional, default 8)[/I]
Delay : DWORD [I]same as for buttons[/I]
Special applications:
#t - <Today> (i.e. Item0="#t" )
#o - <Ok/Close>
#q - <Quit>
#w - <Start Menu>
#c - <Clock> (*_name must be set to "<Clock>")
#b - <Back>
Cycling
Hello there.
Its a nice tool. Thanks for that.
What about to cycle through defined applications till the button is released? If I do miss the application which I want to launch - it launches the last defined application. I do think there should be the way how to "cancel" the launching at all or something like this.
Sincerely David
dmisek said:
What about to cycle through defined applications till the button is released? If I do miss the application which I want to launch - it launches the last defined application. I do think there should be the way how to "cancel" the launching at all or something like this.
Click to expand...
Click to collapse
Thanks for remark.
My idea was to start last application immediately, when there is no application left – if you have two applications assigned to one button, second will run exactly after 500ms(or delay you have set).
In your situation, there is necessary to release button in proper time.
But I think, that it could be added as possibility – so user can choose, if
- it will works like now
- it will cycle thru defined applications
- last application will be "CANCEL". (or combination with previous one)
It unfortunately fails to install on my smartphone (VOX).
Can you build a version for smartphone?
Thanks!
Smartphone
I can't promise anything, because I have no experiences with Smartphones.
But I will try to compile it.
I have found the problem of missing the app I want to be a nag as well. As dmisek said, if you have 5 apps assigned to a button and you miss the app you want, you have to take one of the following.
As a quick work around, I created a link to the today screen and added it to the last app of each button. So, the worst case there is that if I miss my intended app, I will at least go back to the today screen.
As a suggestion for a fix, I would probably say to have the apps loop over and over in the list. I would also suggest adding a "Cancel" like you said in the list.
jockyw2001 said:
It unfortunately fails to install on my smartphone (VOX).
Can you build a version for smartphone?
Thanks!
Click to expand...
Click to collapse
As I said before, I have no smartphone. There is some version, but not tested. Use it at your's own risk.
Vibration is not vorking - I used functions that doesn't exists on smartphones. If everythink else will work, I will try to find substitute for this functions.
hopes that help
Hundera
Hundera: Thanks for your time. Unfortunately it still doesn't install ("The installation file is not intended for this device").
The WM6 standard edition on my VOX smartphone doesn't have a button changer in the settings menu.
Does anyone know which executable is responsible for this on a PPC?
Alternatively can anyone provide me the registry keys?
Thx!
Maybe smartphone has no button to map.
On PocketPC it is store in HKLM\Software\Microsoft\Shell\Keys\.
There are keys 40Cx for buttons...
If you havn't these keys, app will not work...
I've got one regkey 40C1 (voice record button) and that's exactly the button I'd like to use with HButton.
Can you write down the steps to install your app manually?
(files and reg keys)
Oh btw, is it the ResetCmd value in 40C1 key I need to change?
Currently it's set to "\Windows\AppButtons\Record.lnk -b"
Hi,
there are two exe files.
HBSetup is for settings HButtons. If it doesn't work, see post with registry description.
Into reg key "Default" add path to HButton with param 1 (or what HButton you will set).
for example "\Program Files\HButton\HButton.exe 1"
ResetCmd is origin value. It's not neccessary to change it.
Bad luck. I can't start button.exe in any way. Not via the 40c1 hw key and neither from fexplore.
I manually created the HButton reg key and the made the change to the 40C1 reg key:
[HKEY_CURRENT_USER\Software\HButton]
"Delay"=dword:000001f4
[HKEY_CURRENT_USER\Software\HButton\Button1]
"Item0"=""\Storage Card\Tools\Fakecursor\Fakecursor.exe""
"NItems"=dword:00000001
=============================================
[HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\Keys\40C1]
@=""\Storage Card\Tools\HButton\Button.exe" 1"
"Flags"=dword:00000000
"Icon"="hotvoice.exe, 0"
"ResetCmd"=""\Windows\AppButtons\Record.lnk" -b"
=============================================
If I press the hw button it starts the voice tag recorder as usual.
Any clue?
Thx for your patience
Did you try HBSetup? works?
Settings in registry looks fine.
What Button.exe does, when you run it from fexplorer? Nothing, or throw some error?
Hundera said:
Did you try HBSetup? works?
Click to expand...
Click to collapse
unexpected error (NotSupportedException).
This is because I'm not running .NET 2.0
Settings in registry looks fine.
What Button.exe does, when you run it from fexplorer? Nothing, or throw some error?
Click to expand...
Click to collapse
nothing
This one will work... hopefully
Yes, it runs fine from fexplorer
But ... it doesn't start when pressing the voice record button
So close ...
Does HTC do something different with the HW keys on Smartphones
strange...
What voice record button does? Start recording as default or do nothing?
If start recording - try to rewrite another reg value in this registry key. Maybe ResetCmd?
If it do nothing - try to write only "\Storage Card\Tools\HButton\Button.exe" into "Default" key, without param 1.
Hundera said:
strange...
What voice record button does? Start recording as default or do nothing?
Click to expand...
Click to collapse
After pressing the button it beeps 3 times and first opens a window "Alert Speak after the audio prompt" followed for a short time by a window "Recognizing Voice Tag" where it says "there is no trained voice tag" and then exits. I never used this application and don't know yet how it works.
If start recording - try to rewrite another reg value in this registry key. Maybe ResetCmd?
If it do nothing - try to write only "\Storage Card\Tools\HButton\Button.exe" into "Default" key, without param 1.
Click to expand...
Click to collapse
Tried both, but to no avail
Perhaps I have to play around with reg keys like :MSVOICE or :MSHOTVOICE in HKLM\Software\Microsoft\Shell\Rai
No ideas :-(
i have setup a sipdroid, ipkall, pbexes, and sipsorcery account. however when i try and make a call it keeps asking for a password...?
i am not sure what i have done wrong and have followed the guide on this site and was wondering if someone could help?
also not sure how i need to configure gv or if that may have anything to do with it?? cause when you call my gv number it goes directly to gv and does not ring my mobile
Ok I have just told gv to use every time I make a call. Wasn't sure if that was something I should do or not? Also the password I entered for all my accounts this time worked, yet it said the call could not be completed?
***Edit***
Ok I think I have gotten alot further... It is no longer asking me for a password and is just now saying the call cant be completed as dialed. I have checked my sipsorcery account and it appears that im having an error loading my dial plan??? here is a copy of the plan i have below. also how can i get google to verify my sip number to forward my gv calls to the correct number?
appreciate all the help as i was just transferred to amsterdam and was looking for a low cost way to keep in touch with family and friends.
PHP:
# Copyright(c) 2010 Mike Telis
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations under
# the License.
# Click "View raw file" in the lower right for the best copy/paste view
AREA_CODE = '843' # my area code
GV_USER = '*********' # my GV e-mail address ([email protected])
GV_PASS = '*********' # my GV password
CB_NUMBER = '12064247339' # my 11-digit SIP number (only one)
SPEED_DIAL = { # my speed dial numbers
'1' => '19879879876', # Mom
'123' => '12345678901', # Work
'45' => '17479876543', # Gizmo BFF
'411' => '8004664411', # Google 411
'266' => '[email protected]', # CNN Headlines
}
begin
sys.Log "** Call from #{req.Header.From} to #{req.URI.User} **"
if sys.Out # if outbound call
num = req.URI.User.to_s # Get a string copy of the number to dial
num = SPEED_DIAL[num] || num # Substitute with speed dial entry, if any
case num
when /@/ then sys.Dial num # URI dialing
when /^[2-9]\d{6}$/ # Local call, 7-digit number
num = '1'+ AREA_CODE + num # prefix it with country and area code
when /^[01]?([2-9]\d{9})/ # US number with or without country code
num = '1' + $1 # add country code and truncate number to 10-digit
when /^(011|00|\+)(\d{9,})/ # international number
num = '+' + $2 # GoogleVoiceCall works with '+' prefix only
else sys.Respond 603, 'Wrong number, check & dial again'
end
sys.Log "Calling #{num} via Google Voice"
sys.GoogleVoiceCall GV_USER, GV_PASS, CB_NUMBER, num, '.*', CB_NUMBER =~ /^1747/ ? 7 : 1, 30
else # sys.Out
sys.Dial "#{sys.Username}@local"
end
rescue
sys.Log("** Error: " + $!) unless $!.to_s =~ /Thread was being aborted./
end
Method is very simple, you can enter into the engineering mode settings. Enter the engineering mode is: dial on keypad and enter
"* # * # 3646633 # * # *", you can pop the engineering mode, swipe the screen to enter the [location] and click [location based service], select the following [SLP Template ], the pop-up menu, select [NOKIA] NOKIA, and then point out what next SLP Test, then the above [EPO] page, click on the [Update] updated look at the EPO (IDLE) or also click :ther settings do not need to move, then return to the main page, click on [YGPS]you will see red dots after update they will turn green as they find the satellites. Ensure you have EPO on in the settings
Hi I would like to ask for help-phone can not see both sim cards or the slot in slot 1 or 2 Well, I can not set the IMEI on your phone by going to settings by entering * # * # 3646633 # * # *. After entering the IMEI number and approval - displays to me, At the command is failed to send,,. Ioceana asked what to do and so I wrote back:
If there is no signal on your phone, it maybe Caused by IMEI or NV lost. You april check the IMEI Firstly, input * # 06 #, if the IMEI is lost or invalid, you have to re-write the IMEI. And you a small check NV to input * # 66 #, and press "SN", to see if NV is there, if it is blank That means you have to re-write the NV as well. (IMEI and NV maybe lost because of flashing ROM or factory reset)
maybe you should rewrite the NV
Re-write NV
When the write NV, please ensure code That the version corresponds to your phone model.
Write NV tool (including guidance)
give it a try.
Can somebody help me how to do it exactly?
please help me, i can not send sms after upgarde to 4g, i have tried dial to * # * # 4636 # * # * but after entering smsc number always appear refresh error or update error,
sim card can be used sms on other device but not in my device,
my Device E2353