Guys, responding to this query:
http://forum.xda-developers.com/showthread.php?p=3233602#post3233602
I'm releasing a solution to allow you to remap the double tap and press and hold functions of the wired headset on the Blackstone. This may well work for other recent HTC devices, but given that I dropped out about the time of the dinosaurs, I'm not up to date with their peculiarities. Try it, it can't do much harm...
Moving on:
Ok, I haven't publicly released anything for a long, long time, so herewith, an unfinished portion of VJPoOf (which stands for VJPowerOff).
<the science bit>
VJPoOf is basically a selection of my VJBrisk tools, updated to pass command lines, and searching for only specified target .exe and .lnk files.
</the science bit>
HTC have made it quite easy to override the redial and voice dial functions from the hard wired headphones. Basically, change the following applications in the\windows folder
\windows\redial.exe for the redial command
\windows\SDDialer.exe for the Cyberon voice dialer
An easier way to do this is to extract the zip enclosed (on your pc); then:
Step 1: Drop the files Redial.exe and SDDialer.exe into your \windows\ folder.
They will overwrite the original HTC apps, but don't worry, just delete those two files to get the originals back. I also enclose the originals in the .zip.
Ok, so extract the two files into \windows\.
Step 2: Next, somewhere on your PDA, find the app you want to launch instead of the double tap or long hold on the headset.
Make a shortcut to that app (use gsfinder or similar on your PDA). Then, you must rename the shortcut VJRedial.lnk or VJSDDialer.lnk as appropriate.
Step 3: Copy these two shortcuts into your \windows\ folder, and hey presto, customisable headset commands.
I have one configured to toggle the device lock state, and the other to launch a music player.
As I said, this is a pre-release of a portion of VJPoOf, which will allow you to customise most of the other buttons on the Blackstone as well, short and long power button presses, red button etc. Might do some other stuff too, later
Let me know if your device poofs into smoke.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
V
Download link:
http://www.vijay555.com/vj/releases/vjpoof/vjpoof.zip
UPDATE:
Just for fun, I've released another tiny app from this suite I made to shut the Blackstone down instantly. It might work on other HTC phones, untested.
There will be no warnings, shutdown animations or anything, just instant power off (not standby), so please ensure you've finished working on whatever is open on your phone.
VJF-Off (VJFastOff)
http://www.vijay555.com/vj/releases/vjpoof/vjfastoff.exe
Does this mean that whatever I set the "hold call" button to do, it has to be the same? For instance I want that call button to be set to rotate screen and the press and hold on the headset to be MSVC and on the bluetooth to be MSVC. Is that possible?
What is the "hold call" button? How do you achieve that? Wired headset single click etc?
There are two distinct actions created by the wired headset - double click (redial), and press and hold (voice dial).
Both of these functions can be remapped to separate replacement functions.
V
vijay555 said:
What is the "hold call" button? How do you achieve that? Wired headset single click etc?
There are two distinct actions created by the wired headset - double click (redial), and press and hold (voice dial).
Both of these functions can be remapped to separate replacement functions.
V
Click to expand...
Click to collapse
Hey V!
Don't feel bad about us being dinosaurs. Even dinosaurs can be cool (and dangerously useful)
Anyways, good to see you back
@egzthunder1 - great picture! Covers every eventuality...
It's nice to be back. I've been lurking for a few days - I got a Blackstone last week, got it unlocked, and rapidly un-installed all of the Touch-Slo stuff.
It's nice to be hacking again, 4 IDA windows disassembling, a hex-editor and rom dumps scattered across my desktop - feels just like the old days!
V
vijay555 said:
@egzthunder1 - great picture! Covers every eventuality...
It's nice to be back. I've been lurking for a few days - I got a Blackstone last week, got it unlocked, and rapidly un-installed all of the Touch-Slo stuff.
It's nice to be hacking again, 4 IDA windows disassembling, a hex-editor and rom dumps scattered across my desktop - feels just like the old days!
V
Click to expand...
Click to collapse
If you want to have some fun, check out in the BA section (yes my BA is still alive and kickin!). One of the devs (sun_dream) has ported WM6.5 (or so it seems) although it is only an early beta (fast and very stable though). You could try to port it to the Blackstone and maybe even help these guys with the cHome app (codename Titanium). Good Luck!
Hi,
Sorry if my question is a newbie question (because I am one !), but when I try this one my HTC Touch HD (Blackstone), I can't copy the files in windows folder.
It tells me "Access denied" (in fact "Accès refusé" in French) when I want to copy your Redial.exe.
Is there "something" to unlock "somewhere" ?
Thank you
What are you using to copy the files?
If you use your PC, activesync, explore the PDA, and then find the \windows folder. Just drag the redial.exe file into \windows\.
If that doesn't work, please let us know what phone you're using, and if you've used anything to remove the security settings.
V
Hi Vijay, maybe you can help us; I have a wired remote control W100 for answer calls and control music player, but only works with WMP or AudioManager, can you make one app to intercept the signals of wired remote control w100 and use this signals to control another music player?
Thanks for your reply
vijay555 said:
What are you using to copy the files?
If you use your PC, activesync, explore the PDA, and then find the \windows folder. Just drag the redial.exe file into \windows\.
Click to expand...
Click to collapse
Hi,
Thanks for your answer.
The first time, I was using the explorer on my mobile. But I just try with the explorer of my Vista (through ActiveSync) and it makes the same error.
vijay555 said:
If that doesn't work, please let us know what phone you're using, and if you've used anything to remove the security settings.
Click to expand...
Click to collapse
My Phone is HTC Touch HD (Blackstone).
I haven't used anything to remove the security settings.
Maybe that's the problem ? Maybe by default there's no authorization to modifiy Windows folder ? What should I use to change this ?
Thanks
Ok, but I have a E100 wired remote control and it behaves a bit differently. Any ideas?
@ryomahino and @[email protected]_:
a long time back I wrote some hacks for the bluetooth headset, and believe that they can be expanded to redirect control functions of the wired headset.
I'll have to see if I can get hold of one - know anywhere I can get them cheap? The wife will have my cajones if she finds me buying more phone stuff!
@DeepShark - I'm not sure why you can't do that:
I've got an orange HTC blackstone, which was locked to Orange, but I got it unlocked. Then, I just ran the Modaco "Remove Security" cab to remove security warnings etc. I don't know if that changes things - I've never had much trouble overwriting in the \windows\ folder.
Try using GSFinder or similar (on your phone), and copy the file (the modified redial.exe), and then navigate to \windows\, and paste it into \windows\.
It should overwrite the old one.
Let me know if that helps.
V
@vijay555
Thanks for your advices but it still doesn't work...
I have installed GSFinder (nice tool !) and try again the copy : doesn't work.
Then I can see the proprties of redial.exe. It says "read only". When I try to change it, it says that it's impossible "these attributes cannot be changed".
I think it's maybe because it is written "Application (in ROM)", no ?
I have try also the removesecurity.cab but it changes nothing.
Am I alone to have this problem ? :-(
I really want to succeed because I very often redial somebody without really wanting it (because I press the button unvolontary).
Thanks for your help !
Could somebody else try and see if it works for them?
@DeepShark - you don't need to change the file attributes etc of the files in \windows\ - you can normally just write over a file in \windows\ with a replacement, and the original will "disappear", (as it's in rom, not really replaced or deleted), and will reappear when you remove the fake redial.exe.
I'd be grateful if someone else can try with their phones - my phones are always heavily modified so not the best test cases. Please describe any success/failure and how your phone has been changed.
@DeepShark -what rom and operator are you on? What country?
V
ROM : 1.14.406.3 (22273) FRE
Country : France
Operator : Bouygues Telecom
STOP SEARCHING ! It works !!!
I don't know why, the copy now works. Maybe it's because I have do a soft reset a few minutes only...(?)
Thanks a lot for your patience Vijay555 ! Now I will do the following operations (I have prefered immediatly tell you that the copy has worked!)
Cool, when I press twice the button, it doesn't redial the last number now !!! This will avoid a lot of wrong calls I make very often !
A last question : in fact I don't want to make another action on the "double click" of the button. My wish is to do nothing at all in this case.
Now I have made no program in your .lnk file, so I get an error on my screen. Do you know a program I can call which do nothing ? (I know, it's strange but I hope you understand).
In the other case, I will keep your error message : it's better than make a wrong call !!
Thanks for this useful program you have made !
Try this one.
VJAirHead - an empty executable
http://www.vijay555.com/vj/releases/vjairhead/vjairhead.exe
Glad it's working for you - let me know how it goes.
I have in mind doing a full audio/voice interface with clicks of the headset buttons to allow you to operate the phone remotely, but I think it'd just end up like this:
V
Yeah, great
Thanks a lot, I can double click on the button and nothing happens, and no error message too !
Good luck if you try to do the full audio/voice interface !!!
Hi Vijay,
So what does this do that simply changing any 2 .exes, to 'redial.exe' & 'SDDialer.exe', & putting them into windows not do? (hopefully that makes sense).
I guess this must be just a small part of more to come?
Also when are you going to update your site?
Related
Hello all,
iam currently playing around with my own made C# picture dialer that is displayed as a today item. it enables a user to see pre defined photo contacts. I have not made this to be an improvement of any existing applications. I mainly wanted to see if i could make something that i myself found usefull.
It is not a finished product, perhaps it never will be, please use my settingseditor to configure the application. Also due to memory issues i have removed the resize option. please use images that are 48x48 for QVGA and 96x96 for VGA
features:
- QVGA & VGA usable
- Identify contact with photo or name
- 1 or 2 rows with 5 contacts each
- a long (2 second) press on the photo dials the number that belongs to the contact.
- option to assign two numbers to one photo contact, eg the first number is dialed when you press the photo for two seconds, the second number is dialed when you press the photo for four seconds.
- option to vibrate and/or play a sound to notify 2 seconds have passed to dial a number
One row :
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Two rows:
To use it, do the following:
1 download and install the "ChrisTec Managed Today Screen Item Framework" on you device (install it on your device, i do not know if this will work if you install it on a storage card) at http://www.codeplex.com/ManagedTodayScreen
2 Copy the contents of the Todayscreendialer.zip file to the directory \Program Files\Managed Today Screen Framework
3 configure the settings.xml file (see below) - please use the settingseditor
4 Reset your device (or refresh your today theme) - using the settingseditor will automatically refresh the today theme once you have applied the settings
Todayscreendialer settings.xml
the settings.xml included should be used as follows:
<PictureCaller rows="1" sound="false" vibrate="true" dialNumber="false" soundLocation="your wav file location">
rows="1" -> numer of rows to display either "1" or "2" rows.
sound="false" -> specify if you want to have a sound played if you press the photo button for 2 seconds.
vibrate="true" -> specify if you want to have the device to vibrate if you press the photo button for 2 seconds.
dialNumber="false" -> in case you want to test the buttons without dialing. please set this to "true" if you want the application to dial !
soundLocation="your wav file location"> -> if sound is set to "true" you must specify a valid file (use the complete path)
For each Photo or name contact you should add a <Item id="a number from 1 - 10">
a photo contatc should be added like this:
<Item id="3">
<Name>Callers name</Name>
<Picturelocation>picture.jpg</Picturelocation>
<PhoneNumber1>12345678</PhoneNumber1>
</Item>
a name contact should be added like this:
<Item id="5">
<Name>Callers name</Name>
<PhoneNumber1>12345678</PhoneNumber1>
</Item>
please keep in mind that the maximum number of items is 10 (for 2 rows)
There are two options that can be set per <item>:
visible="false" -> set item to visiible or not, default this is true
multipleNumbers="true" -> if you would like to use two numbers with the same contact use multipleNumbers="true". It is imperative that you include <PhoneNumber2>12345678</PhoneNumber2>
or else the application will not work properly
hope all this is a bit clear !
U can use the settingseditor to configure the settings.xml.
Simply copy it to your device and start the program. It will search for the settings.xml file in \Program Files\Managed Today Screen Framework
any pictures?
Riply said:
any pictures?
Click to expand...
Click to collapse
please see first post
looks quite usefull, some suggestions though: What about rounded corners or mirror / 3D effects for the pics? And an own settings-app would be nice as well.
regards,
Martin
m.schmidler said:
looks quite usefull, some suggestions though: What about rounded corners or mirror / 3D effects for the pics? And an own settings-app would be nice as well.
regards,
Martin
Click to expand...
Click to collapse
i am not really an expert in special effects on pictures. But perhaps i can make it work
i will look into creating a seperate settings application that edits the settings.xml.
Now this is exactly what I am looking for, sort of. I know my suggestion may spoil your thoughts of how you want the program to behave but hey it is just a suggestion Here goes, is it possible to bring upp a menu with all the numbers you have on that contact, for instance home,work and so on when you long press on the contact picture? I think this feature would be great but as I mentioned you are the author and you do as you want, its a suggestion. Weird no one else has created a similar software before.
Creutz said:
Now this is exactly what I am looking for, sort of. I know my suggestion may spoil your thoughts of how you want the program to behave but hey it is just a suggestion Here goes, is it possible to bring upp a menu with all the numbers you have on that contact, for instance home,work and so on when you long press on the contact picture? I think this feature would be great but as I mentioned you are the author and you do as you want, its a suggestion. Weird no one else has created a similar software before.
Click to expand...
Click to collapse
good suggestion, however my main idea behind the long pressed button approach is that a person does not have to look on the screen to see what number is to be dialed. I use the plugin extensible in my car. I just have to look which contact i want to dial and start pressing the photo contact. The app will do the rest.
However, it is possible to do this, so if you (and other people) want this approach I can see if i can incorperate it at a later stage. It will probably will be around the time that i have figured out to directly connect the PIM contacts to the plugin.
Creutz' idea should definitely be included in the upcoming releases, but as it has been mentioned above try think about some sort of built in configuration instead of manually xml-file editing.
special effects...not seriously needed
Very nice software. Thank you. I like this wallpaper too. Would you mind sharing that or direct me as to where I may find it?
Wallpaper Answer
balane said:
Very nice software. Thank you. I like this wallpaper too. Would you mind sharing that or direct me as to where I may find it?
Click to expand...
Click to collapse
You can find the theme at http://www.pocketpcthemes.com/preview.asp?ID=75484.
GAMBIT999 said:
Creutz' idea should definitely be included in the upcoming releases, but as it has been mentioned above try think about some sort of built in configuration instead of manually xml-file editing.
special effects...not seriously needed
Click to expand...
Click to collapse
I am currently working on a seperate application that will edit the settings.
mb286 said:
I am currently working on a seperate application that will edit the settings.
Click to expand...
Click to collapse
That' very nice to hear, I will test it once it's out.
Thanks
Settingseditor program
Okay, i have finished a settingseditor to edit the settings.xml. hope someone finds it usefull. please also download the new Todayscreendialer.zip.
I was wondering if anybody was using the application.and if anybody had comments or suggestions.
Ido you need to make some registry settings?
Hi, yesterday I stumbled on your application an dwant to try it. From some other internet sources I understand that also some registry settings must be made to make it work. Is that correct?
At the moment I cannot 'see' your plugin on my today screen.
Please advise, and thanks for sharing your application
Regards
dutchnomad said:
Hi, yesterday I stumbled on your application an dwant to try it. From some other internet sources I understand that also some registry settings must be made to make it work. Is that correct?
At the moment I cannot 'see' your plugin on my today screen.
Please advise, and thanks for sharing your application
Regards
Click to expand...
Click to collapse
Thank you for trying the app out, there is no need for any registry changes. could you tell what kind of device you are using?
I am trying to use it on a HTC Touch HD (WM 6.1)
Regards
dutchnomad said:
I am trying to use it on a HTC Touch HD (WM 6.1)
Regards
Click to expand...
Click to collapse
I will look into this.
Guys,
I've been asked here and there if it's possible to do something useful with the wired headset on HTC phones.
I've written a set of apps, VJPoOf, which can be used to remap the press and hold and double tap functions of the headset.
I've also been asked if these remapped functions can be used to control Windows Media Player.
I'm not sure if anyone has written an external control for Windows Media Player - I'm sure they have, but I always re-invent the wheel, so here goes.
[My old favourite, PHM tools, seems to have stopped working ]
VJWMPlayerControl: as ever, a hardcore command line only tool.
It supports the following command line options:
[Control functions]
-playpause
-stop
-previous
-next
-shuffle
-repeat
-volup
-voldown
[Options/Screens]
-nowplaying
-library
-options
-fileinfo
Please find out how to make a shortcut with a command line if you don't know how (see my website).
So, example usage is:
VJWMPlayerControl.exe playpause
will obviously toggle play or pause if WMP is currently up and a track is playing.
WMP does not have to be on screen for you to use these functions.
The app currently has limited functionality, but has a lot of use if you need it! Use it with MortScript etc and you can control various functions of WMP. Use it to control WMP from Touchflo, or your Today Screen etc.
This app is hot off the press and relatively untested with Videos etc, but works fine for me with audio.
My usage is to use VJPoOf to remap the wired headset on my Touch HD, so that I can launch WMP by pressing and holding the headset button.
If WMP is not running, this will launch WMP and start playing the first track in your music library, so you don't need to touch the phone to start playing music.
When playing music, press and hold again to skip to the next track, and double tap the button to pause/play.
Please note - this usage has to be set up using a combination of VJPoOf and VJWMPlayerControl, for full flexibility in how you might want to set things up. You will need how to set up VJPoOf (not difficult!) to do this.
Also note, if WMP is not running, VJWMPlayerControl will try to launch WMP, and automagically start playing music (if there's any in your music library. If not, it'll launch missiles on Russia - I think...). This is so you can start running WMP handsfree, with the handsfree.
Note, this even works when the phone is switched off, so just insert your headset and press and hold (with VJPoOf) to launch WMP.
Let me know if it works for you or if you can think of other features to add.
Oh, and donate. My children eat cement for roughage
V
Download from here:
http://www.vijay555.com/vj/releases/vjwmplayercontrol/vjwmplayercontrol.exehttp://www.vijay555.com/vj/releases/vjwmplayercontrol/vjwmplayercontrol.cab
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Hi Vijay,
It's good to see you're active around here again recently.
I would have loved this about a week ago when I was trying to get mortscript to shuffle my playlist after a set time, but I found the registry entry for it instead
the updated VJBrisk & VJPoOf seem good too.
What programming language is this written in? Is it possible to get the source code of the app?
Also, I think I might write something similar for the TouchFLO3D media player (AudioManager). Eventually.
Edit: Got previous and next track working with the Touch Flo 3D player. Can't seem to get play and pause working properly for now. Will try it again soon when I have more time.
Hi Daniel,
I''ve been trying to figure out a way to run the HTC Touch HD remote with wired headset (something HTC should have thought about?). But with the builtin TF3D music player..
Ufnortunately my skills were lacking...
Is there any chance I can be your beta tester? Drop me a line... I can live witouth play / pause... but next and previous is nice... ;-)
Regards.
Conduits Pocket Player Support
Hello
I was wondering if Conduits Pocket Player 4.0 support could be implemented in the next release?
It is only a question of running pocketplayer.exe with the right command line parameters.
Here is the command list (taken from pocketplayer forum):
>>>>>>>
Here are some command line options that are recognized by Pocket Player. To use these, you would target your shortcut to:
\Program Files\Pocket Player\pocketplayer.exe [command name and options, without brackets]
FileOrUrl Will begin playing the track
/VOLUME=N Where N is from 0 to 255, will change the volume
/SILENT Will start Pocket Player hidden
/ENQUEUE X Will enqueue track X to Now Playing
And the format that controls playback:
/COMMAND C1 [optional: C2 C3 C4 C5]
This option takes one to five numbers on the command line, and then processes those numerical commands. Here are some of the numerical commands recognized in that form:
Play/Pause 1
Play 2
Pause 3
Stop 4
Next 5
Back 6
Mute 7
Volume up 8
Volume down 9
Screen toggle 10
Vis toggle 11
Jump fwd 12
Jump back 13
Hide/show 14
Bookmark 16
Lock/unlock 17
Unlock 18
Repeat/shuffle toggle 21
Eq toggle 28
Dsp toggle 30
Browse 31
Seek to marker 33
__________________
Conduits Support
[email protected]
>>>>>>>>>>>>>
example: Storage Card\Program Files\Pocket Player\pocketplayer.exe" /COMMAND 1 5 17
It would be even simpler if the app would just run pocket player and let the user input their own command line parameters.
The procedure would be simple to implement but unfortunately i lack the programming knowledge
Please?
Hi ViJay.
I use your command line tool with a mortscript to launch WMP.
I remarked that when WMP is playing the whole library (ie : when launching WMP with the "VJWMPlayerControl.exe playpause"), it uses a lot of memory, and at this moment, the "STOP" function doesn't work anymore, while others do. "VJWMPlayerControl.exe stop" acts like nothing happened.
Hi lpaso!
Could you write everything you do that shows the bug, step by step, so I can do it on my phone and try to fix it.
Thanks!
V
Hi ViJay,
Thank you for your support
Here are the steps I follow :
- I have about 1000 songs on my Touch HD, using a 16GB µSD card.
- When I launch WMP using your command line tool (vjwmplayercontrol.exe playpause), the player launches, go to the first song of my library, then starts to play.
- at this moment, I'm not able to use the "stop" function of your tool : it doesn't work.
I remarked it was occuring when WMP uses a huge amount of memory. For example, before launching WMP, my phone has about 30% of memory used. When I launch WMP and start playing song, it can go up to 85% of memory used.
When the player uses this amount, the stop function doesn't work at all, while other functions work very well.
If I push "pause", then wait about 15min, WMP starts to decrease its amount of used memory, and I'm able to use the "stop" function again.
I don't know if I'm clear enough.
If I'm not, I'll try to make a video
it does not work on my Viva.
i copied Redial.exe, SDDialer.exe and VJRedial.exe from vjpoof to Windows folder... i installed vjwmplayercontrol.cab... i made a shortcut VJRedial.lnk (70#"\Program Files\vijay555\VJWMPlayerControl\VJWMPlayerControl.exe" next) and VJSDDialer.lnk (74#"\Program Files\vijay555\VJWMPlayerControl\VJWMPlayerControl.exe" previous) and placed them in Windows folder... but nothing happens.
play & pause
finally got it working..
is there a way for showing the play icon when song is paused or stopped. and the pause icon when the song is playing?
Why this app does not work on WM 6.5.x?
Any solution, please.
vijay555: you've been guessing good, there was already one here. But yours have more options, so it isn't a waste
thanks
yes it works with 6.5, as well as the other one you found.
Although a very cool app it has a basic flaw: VJPoOf is only for HTC devices.
VJPoOf works in HTC devices by overwriting some rom's exe files that are launched when the headphone button is pressed. However these exe files are not Windows Mobile standards (these seem to be HTC only). This app doesn't work in my Samsung Omnia (or any other non HTC device... or so I assume).
I thought of an alternative for all the other devices (but I'm no coder so I can't do it myself). Apparently the headphone button acts as the green button (at least according to emulators button mappers)... If someone could modify Supware's GreenButton app (it already has the majority of the code and it's open source... it's a valid idea) to be able to distinguish normal-press, long-press, double-tap and launch a different shortcut/app/whatever then we would have a universal headphone control app (just let us choose what is launched because this way we could use if with any player we want so long as we know the right command).
wait, I meant wmp control shortcuts, not headphones button.
there are two apps in this thread.
headphones button is not the same as green button on htc. is it really on omnia? It's just kind of a trick, winmo executes two progs, called redial.exe & sddialer.exe, if you double press or long press it.
if you put whatever, calc.exe instead of one of them, it will just run calc instead. And yes, this one is not as universal as I had to rename sddial to voicecmd.exe to have it working on main.
Sad to see vijay and supbro are not at xda very often now...
Yeah the WMP seems to work fine (but then again I use WinMo 6.1). I guess one could achieve the same end result using via postmessage... though I never tried to find these commands. But the one I wanted most was the headphone bit (as I don't use WMP).
The VJPoOf concept is flexible and would allow to control any player given you change a few things. But redial.exe and sddialer.exe don't exist in the Omnia... The Omnia headphone button has no native long-press or double-tap features... Instead it always acts the same (as the green button).
I had tested the concept. GreenButton can be used to run any app that is passed in the lnk as an argument by pressing the headphone button. The problem is my device (and I assume it's not the only one) doesn't know the difference between a single press, a long press and a double tap.
any chances of getting a FWD/Rewind command? I posted a similar query on mortplayer thread as well.
Along similar lines to S2U2, I've decided to make Slide2Shutdown! There's nothing special to configure, just install it and go. All resolutions should work fine (make sure you download QVGA for QVGA or WQVGA devices), but I only have the ability to test it on a VGA device so I can't guarantee how well it works in other resolutions. It also supports both portrait and landscape seamlessly.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
There are four CABs available to install. They require version 3.5 of the .NET Compact Framework, the program won't run without it.
Slide2ShutdownSetup_v1.1.CAB just installs the application without mapping it to the power key. QVGA/WQVGA version.
Slide2ShutdownPowerKeySetup_v1.1.CAB installs the application, and maps it to the power key so that it will automatically launch when you hold down the power key. QVGA/WQVGA version.
There's no elaborate skinning method built-in, but the graphics are all stored in the \gfx\ folder and you can change them at will. Just replace the BMP files with your own files of the same dimensions.
Multiple language support is now available. You will find the available languages in the \lang\ folder. To enable your chosen language, open the txt file and change the first line to say "1" instead of "0".
Languages available:
Chinese (thanks winderp!)
Czech (thanks RDT!)
Danish (thanks TorbenKB!)
French
German (thanks basthet!)
Greek (thanks dancer_69!)
Italian (thanks fuorionda!)
Polish (thanks CZiPEN!)
Russian (thanks Alexx~!)
Spanish (thanks PabloMDiez!)
It should be pretty straightforward to create your own languages. Create a file called "lang.yourlanguage.txt". Make the first line 0. The second, third and fourth lines should be "slide to shutdown", "restart" and "sleep" respectively, and the last line should be the text for the cancel button. Please post your language file if you translate it, and I'll add it to the next version!
Changelog:
v1.1, 31/08/2009:
FIXED: HTC devices should shutdown properly now. HUGE thank you to DaveShaw for helping me with this. I don't think Omnia devices will though. Please send me a PM if you know how to rectify this.
ADDED: Support for multiple languages. French and German (thanks basthet!) included. See above for information on enabling this.
v1.0, 30/08/2009:
Initial release
BUG: Shutdown slider doesn't currently work well on many HTC phones (it only suspends), I'm looking into a fix.
Thanks for your great work!
I will report it, if it has bug.
Great idea
Great. Thanks a lot
QVGA/WQVGA would be nice.
I'd like to have this mapped to my power key on my Omnia...
cheers.
Cythrelo said:
Along similar lines to S2U2, I've decided to make Slide2Shutdown! There's nothing special to configure, just install it and go. At the moment, it's VGA-only but if there's enough demand, I'll make a QVGA version as well! I haven't tested it in WVGA, but I don't see why it wouldn't work just fine. It also supports both portrait and landscape seamlessly.
There are two CABs available to install. They require version 3.5 of the .NET Compact Framework, the program won't run without it.
Slide2ShutdownSetup.CAB just installs the application without mapping it to the power key.
Slide2ShutdownPowerKeySetup.CAB installs the application, and maps it to the power key so that it will automatically launch when you hold down the power key.
There's no elaborate skinning method built-in, but if the graphics are all stored in the \gfx\ folder and you can change them at will. Just replace the BMP files with your own files of the same dimensions.
Changelog v1.0, 30/08/2009:
Initial release
BUG: Shutdown slider doesn't currently work well on many HTC phones (it only suspends), I'm looking into a fix.
Click to expand...
Click to collapse
Very, very cool.
Thanks,
dwizzy130
WQVGA would be awesome.
Nice Idea.
Wating for QVGA.
Suggestion:
1.At top:Center text:"Slide2Shut".
2.Move the three slide to centre.
3.Add some background.
4.Full Screen.
Very useful application!
It works well in Touch HD, except the bug you already mentioned.
I would like to ask you to add 'slide to screen off'.
Thank you!
Good news! It turns out that it was easier to add QVGA and WQVGA support than I thought it would be. I just added QVGA cabs to the first post, let me know if you have any problems since I can only test on emulators and not real devices.
Very nice! I'm especially fond of the dimmed background.
Cythrelo said:
Good news! It turns out that it was easier to add QVGA and WQVGA support than I thought it would be. I just added QVGA cabs to the first post, let me know if you have any problems since I can only test on emulators and not real devices.
Click to expand...
Click to collapse
Working great on my Omnia which is WQVGA. Thanks for the quick conversion.
Is slide to off supposed to turn the device off completely? If yes then that is not working for me either but it suspends and resets.
Glad to hear it's working well for you!
Yep, it's supposed to turn off entirely. Unfortunately, HTC devices seem to have their own method of shutting down, and the method I tried to use didn't work. I haven't been able to find any information on how to do a proper shutdown for HTC devices, but I've been looking and asking around and I'll implement a bugfix as soon as I figure it out.
Cythrelo said:
Glad to hear it's working well for you!
Yep, it's supposed to turn off entirely. Unfortunately, HTC devices seem to have their own method of shutting down, and the method I tried to use didn't work. I haven't been able to find any information on how to do a proper shutdown for HTC devices, but I've been looking and asking around and I'll implement a bugfix as soon as I figure it out.
Click to expand...
Click to collapse
OK. My Omnia is from Samsung so I imagine the fix for HTC might not work for me. I'll look around for the needed info on the Omnia.
I just tried the version tied to the power button also but the power button option does not work for me. Perhaps a different button location for the Omnia.
The power button CAB just adds a shortcut called Long_Power.lnk to the \Windows\ directory. I guess this doesn't work with the Omnia? I'd be happy to fix that too if someone knows of a more universal way to do it. I'm new to all of this and still firmly in novice territory as a programmer, so I'm way behind everyone else here.
If you have Advanced Config installed, are you able to go to Menu> More settings> Key mapping and map "Long press Power key" to it?
Cythrelo said:
The power button CAB just adds a shortcut called Long_Power.lnk to the \Windows\ directory. I guess this doesn't work with the Omnia? I'd be happy to fix that too if someone knows of a more universal way to do it. I'm new to all of this and still firmly in novice territory as a programmer, so I'm way behind everyone else here.
If you have Advanced Config installed, are you able to go to Menu> More settings> Key mapping and map "Long press Power key" to it?
Click to expand...
Click to collapse
No. Long press Power key is grayed out.
Sorry, I'm out of ideas then. Until I can find a solution, you could try AE Button Plus to remap the power button. The trial version will work, if you don't mind a splash screen when it starts.
One more thought, do you already have something like psShutXP or xdaShutdown installed and mapped to the power key? It's possible they may be overriding it.
Cythrelo said:
Sorry, I'm out of ideas then. Until I can find a solution, you could try AE Button Plus to remap the power button. The trial version will work, if you don't mind a splash screen when it starts.
One more thought, do you already have something like psShutXP or xdaShutdown installed and mapped to the power key? It's possible they may be overriding it.
Click to expand...
Click to collapse
I do have psShutXP installed. I'll see about removing that.
Removing psShutXP did not help.
Subscribing to thread and awaiting bugfix.
WB
Hello all, here is the newest Phone_Canvas_Enhancement_5_0_61220152721_0 from Huashan ported to VGA. All credit go to WoZZeR999 for his port ,pyrorob for his porting template(a phcanrc.dll from Leo Phone Canvas) and amarullz for his phcanvga.exe!
Why this one:
1. It supports WM6.5.3(231XX) natively. No more Caller ID issue or graphical glitches.
2. It supports video call.
Why not the one from Oboe(seems much newer):
1. It has dual SIM support thus if we want to use it we need to get rid of its dual SIM support(e.g. hex edit), otherwise we can't even make a call.
2. It doesn't support video call.
The attached zip has two packages inside: Phone_Canvas_Enhancement_5_0_61220152721_0(Phone Canvas itself), Video_Telephony_3_0_38566_0(a dependency of the Phone Canvas).
All packages are with 0804 localization, 0409 localization attached seperately.
Please download the phcanrc.dll attached and replace the one in the original package to get VGA resolution. And please make the phcanvga.exe start on boot(put a link in /Windows/StartUp).
This Phone Canvas won't work on AKU versions other than 6.5.3.
Again thanks WoZZeR999 for his port!
The Haushan rom doesn't need the ipdial package, just for info. It does need the Video Telephony package.
The package seems to be very similar to the leo 2g stuff, so it may be possible (if the leo 2g was converted to vga) to just replace a few files with the leo ones (anything that has dialog and image resources).
WoZZeR999 said:
The Haushan rom doesn't need the ipdial package, just for info. It does need the Video Telephony package.
The package seems to be very similar to the leo 2g stuff, so it may be possible (if the leo 2g was converted to vga) to just replace a few files with the leo ones (anything that has dialog and image resources).
Click to expand...
Click to collapse
Ok, I will remove the IP dial package. But there is a option in the Phone Canvas menu to open IP dial.
I guess the resources inside the dlls have changed a lot, simply replacing files doesn't sound good and we will lose 6.5.3 compatibilty.
And it's "Huashan" instead of "Haushan", Huashan is a famous mountain in China, literally translated as "Hua Mountain".
Sorry, my mistype.
I know that the CMYLXGO Leo 2g dialer skins it perfectly. -- After looking at it, phcanImages probably does not have any of the screen res stuff in it, so my mistake.
I'm using Phone_Canvas_Enhancement_5_0_61220142530_0, so I don't know if they added IP Dialer, but I don't need it to make calls. (No option shows up for it either)
WoZZeR999 said:
Sorry, my mistype.
I know that the CMYLXGO Leo 2g dialer skins it perfectly. -- After looking at it, phcanImages probably does not have any of the screen res stuff in it, so my mistake.
I'm using Phone_Canvas_Enhancement_5_0_61220142530_0, so I don't know if they added IP Dialer, but I don't need it to make calls. (No option shows up for it either)
Click to expand...
Click to collapse
IP dialing in the right soft key menu in 0804 mui. Basically, we only need to port phcanrc.dll.
If you can attach the most recent vga phcanrc file, I can try my hand at editing the Huashan phcanrc.dll for you.
WoZZeR999 said:
If you can attach the most recent vga phcanrc file, I can try my hand at editing the Huashan phcanrc.dll for you.
Click to expand...
Click to collapse
Oh really? Thanks! I attached the most recent ported Qilin Phone Canvas Enhancement(which is the most like Huashan one) phcanrc.dll. phcanvga.exe also(the program to push the phone canvas upwards, you can ignore it, I just upload in case).
I can transfer most of the dialog boxes over, but there's 5 more in the Huashan, and without a vga device I can't test them. I'll have this done in a few minutes, so you can test if it mostly works, and give screen shots of stuff that doesn't.
WoZZeR999 said:
I can transfer most of the dialog boxes over, but there's 5 more in the Huashan, and without a vga device I can't test them. I'll have this done in a few minutes, so you can test if it mostly works, and give screen shots of stuff that doesn't.
Click to expand...
Click to collapse
Ok, great, I've just tried that phcanrc.dll that I attached before, but not thinking it good. So I have another dll for you, you may also do some modifications. The attached phcanrc.dll here is almost perfect, but it may be different from Huashan one, hope you can have a look at it and try to use it as a template.
Thanks!
This one looks much better. The other one you posted didn't look like it was really changed much (still had 800x480) dialog boxes.
WoZZeR999 said:
This one looks much better. The other one you posted didn't look like it was really changed much (still had 800x480) dialog boxes.
Click to expand...
Click to collapse
Yeah, the latter one I posted is really working like a charm for me!
Ok, I've got a real quick hackjob here for you to test. Let me know if this works for you (and screen shots of parts that don't work).
You'll have to rename it (I had to name the different phcan's in the folder so I knew what was from what)
WoZZeR999 said:
Ok, I've got a real quick hackjob here for you to test. Let me know if this works for you (and screen shots of parts that don't work).
You'll have to rename it (I had to name the different phcan's in the folder so I knew what was from what)
Click to expand...
Click to collapse
Wow that's fascinating! Cooking as I type, will tell you the result, thanks!
I hope it works. It looked like most of the dialog boxes were the same (with just some re-arranging for VGA). Same ID numbers for the buttons and stuff (but different dialog box ID).
Edit: It shouldn't matter, but I used the Phone_Canvas_Enhancement_5_0_61220142530_0 which is 2014, and the one you posted is 2015.
WoZZeR999 said:
I hope it works. It looked like most of the dialog boxes were the same (with just some re-arranging for VGA). Same ID numbers for the buttons and stuff (but different dialog box ID).
Edit: It shouldn't matter, but I used the Phone_Canvas_Enhancement_5_0_61220142530_0 which is 2014, and the one you posted is 2015.
Click to expand...
Click to collapse
What I want to say is just: cool! Portrait almost perfect except this:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
The three buttons should be moved up a bit, to center in the dialog.
And landscape is quite unusable, like:
I am not quite sure if you can fix the landscape(it might just not support landscape).
Hope you can fix these bugs, and maybe re-port from 2015 dll? 2015 dll may work better.
Thanks for you port!
I'll give the 2015 a shot. But the same errors may come up (since I'm just doing a quick hack until I can see what's wrong with it).
Edit: Here's another attempt at it, with the 2015 DLL. I didn't move any buttons, but I did pay closer attention while I was moving stuff. Hopefully this fixes the landscape issue.
Edit2: Also, can you show me a landscape of how it's supposed to look?
Edit3: I think the problem is the keypad on the 2014 Phone canvas, it doesn't look correct on my Rhod either. The pad is blank, like in your screen shot. This may happen in the 2015 as well. I have a package for Phone Canvas 5.1, but I can't seem to get it working.
WoZZeR999 said:
I'll give the 2015 a shot. But the same errors may come up (since I'm just doing a quick hack until I can see what's wrong with it).
Edit: Here's another attempt at it, with the 2015 DLL. I didn't move any buttons, but I did pay closer attention while I was moving stuff. Hopefully this fixes the landscape issue.
Edit2: Also, can you show me a landscape of how it's supposed to look?
Edit3: I think the problem is the keypad on the 2014 Phone canvas, it doesn't look correct on my Rhod either. The pad is blank, like in your screen shot. This may happen in the 2015 as well. I have a package for Phone Canvas 5.1, but I can't seem to get it working.
Click to expand...
Click to collapse
Ok, I'm recooking, will tell you whether the save to contacts dialog issue still persists.
Guess we should stop playing with landscape, I found the dialer trying its best to rotate back to portrait lol.
Never expected it would be done this quick, thanks!
That 5.1 is the one from Oboe, and as I said in #1:
Why not the one from Oboe(seems much newer):
1. It has dual SIM support thus if we want to use it we need to get rid of its dual SIM support(e.g. hex edit), otherwise we can't even make a call.
2. It doesn't support video call.
Click to expand...
Click to collapse
WoZZeR999 said:
I'll give the 2015 a shot. But the same errors may come up (since I'm just doing a quick hack until I can see what's wrong with it).
Edit: Here's another attempt at it, with the 2015 DLL. I didn't move any buttons, but I did pay closer attention while I was moving stuff. Hopefully this fixes the landscape issue.
Edit2: Also, can you show me a landscape of how it's supposed to look?
Edit3: I think the problem is the keypad on the 2014 Phone canvas, it doesn't look correct on my Rhod either. The pad is blank, like in your screen shot. This may happen in the 2015 as well. I have a package for Phone Canvas 5.1, but I can't seem to get it working.
Click to expand...
Click to collapse
The new one is not working, see the screenshot:
It's getting late here, I got the 2 (landscape and portrait) backwards. I think I may know what's causing the landscape problem as well. Give me a few minutes
Edit: This *SHOULD* be correct. I checked it after against the original phcanrc.
WoZZeR999 said:
It's getting late here, I got the 2 (landscape and portrait) backwards. I think I may know what's causing the landscape problem as well. Give me a few minutes
Edit: This *SHOULD* be correct. I checked it after against the original phcanrc.
Click to expand...
Click to collapse
This one works just like the 2014 one you posted, landscape not working but that's alright, in portrait mode, that Save Contact dialog still has the issue.
Maybe we should make it perfect tomorrow to let you catch some Zs for now?
Thanks!
Announcing the release of my 1st Cookie Home Tab widget, a toggle switch.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Purpose:
For devices which do not have a dedicated DPad!
The toggle switch allows the user to switch the use of the volume button between controlling the volume and functioning as a Directional Pad.
Use:
The application controlled by the switch is VolDPad (with a small modification to report active status).
More details can be found on the original authors thread [beemerTPPC's VolDPad software]:
The operation of the volume buttons operate as the VolDPad app states:
-Volume UP is remaped to d-pad UP. Can be hold for autorepeat.
-Volume DOWN is remaped to d-pad DOWN. Can be hold for autorepeat.
-Double click Volume UP is remaped to d-pad LEFT. Does not support autorepeat.
-Double click Volume DOWN is remaped to d-pad RIGHT. Does not support autorepeat.
-Double click with hold in Volume UP is remaped to d-Pad RETURN with Hold.Does not support autorepeat.
-Double click with hold in Volume DOWN is remaped to d-Pad RETURN.Does not support autorepeat.
-If a call is being established or is active the volume keys will behave normally.
Install Instructions:
This will install using the cab file attached, obviously you must be using CHT2 for it to work.
How was it made?
Coming soon...
Thanks to:
How-To-Make-A-CHT-Widget Thread
beemerTPPC's VolDPad software
Note: I have only slightly changed the application, all credit for it's excellent conception and operation go to beemerTPPC!
reserved for how to...
Sweet! I really miss that about my diamond!
ezzie said:
Sweet! I really miss that about my diamond!
Click to expand...
Click to collapse
Yep, really annoys me that the touch HD doesn't have one either, kills a lot of games and easy web browsing.
It doesn't work on the HD2, I guess it's because of HTCVolumeControl ?
Oh, and since I installed HTC Volume_6.5.3 Fix.cab on the HD, I guess it won't work either...
Edit : confirmed ! It works well with old-fashioned WM volume control.
Well, now, I really don't know what's better !
New edit : the "double click" feature isn't handy. You usually press quickly to refine your move when you're near the target, and the "left" and "right" commands then trigger too easily (I think the delay needs to be reduced, so only a really fast double click will be taken in account).
Unfortunately, it looks like "left" and "right" actually mean "top" and "bottom" on PHM Regedit, and it's one where having a direction pad would be the most useful, as the tree upper part can't be scrolled with the finger !
Z80-Man said:
It doesn't work on the HD2, I guess it's because of HTCVolumeControl ?
Oh, and since I installed HTC Volume_6.5.3 Fix.cab on the HD, I guess it won't work either...
Click to expand...
Click to collapse
Ok, above is working, but left the info here, since others may find it useful...
-------------
As I also use NRG rom, I've also had put HTC Volume_6.5.3 Fix.cab on my HD 1st to get "normal" volume operation and it works fine.
(I've not put any volume fixes or changes into the cab, so the switch assumes you have a normal volume control operation before installing).
I think there is a fix for HD2 on the original thread for VolDPad (although not checked if this replaces the VolDPad.exe). Let me know and I'll try to make a version for the switch (as it needs the registry key bit).
You should be able to test if VolDPad works by running the exe from the windows dir.
Note: It is not too easy to tell when it is operating or not on the original version, but with the version I created, you can monitor the following key:
HKCU\Software\HTC\Manila\VolDPad.Active
-------------
I gave up worrying about the look of the volume control (i.e. htc, wm etc) since I rarely change it. I've put a screenshot of the one I have now, other than being full screen I don't see much issue with it. (Is yours any different?)
Perhaps I'll try another time to see what other volume control screens it does work with, but don't want to break it at the moment. I did have a nice one which was a single bar along the side, ah yes it was VolumeKeys (note the bar only pops up, it's not permanent or anything) (http://forum.xda-developers.com/showthread.php?t=598997).
Yes, it could be a nice alternative,I'll test it.
About the HD2, the fix consists in a CAB containing a single file : HTCVolumeControl.dll.
When you install it, it just... Brings back the old fashioned WM volume, along with an ugly flat white speaker icon on the taskbar !
Well, of course, VolDpad works, then.
Still can't choose between what's best for me.
Now let's talk about something I've been wondering, so I put my hands it he registry as usual, and got some interesting, but uncomplete resuts...
Your new switch works really well, but it has to be used in a quicklink.
Since we have 8 switches setup as widgets on CHT2.0 default layout and I found handy to group all switches there instead of having them mixed with programs icons, I tried to place your switch there... And finally partially succeeded.
I actually understood the way Co0kie places elements on the screen, after having studied the way the other widgets were defined.
To start with, all the widgets and quicklinks are stored in the [HKEY_LOCAL_MACHINE\Software\HTC\Manila\Home] key, with numbered subkeys.
The "0" to "99" keys seem to be reserved for widgets, while the quicklinks actually begin with "100" (up to "211").
The first strange thing is their order : if you number the existing switches from top to bottom then left to right, you may guess they're numbered 0 to 7, right ? Well, in the registry, they're actually numbered 4,5,7,8,0,1,2,3 respectively !
Yes, the "6" is empty and not used.
But there's another weird thing : the "8" one, corresponding to the "Airplane mode", is duplicated in the "14" key ! I think I found there the explanation for a bug affecting recent Energy ROMs - and I will discuss that in detail in the Energy ROM topic. The only thing to know there is it's not a CHT bug, but some weird setup NRGZ28 put in his ROMs, and it's not the only one I found here !
OK, so let's go on about that switch.
So I could finally understand how Co0kie represented the coordinates for icons placement.
They consist on X position given from the first page leftmost position (probably fixed by one of these mysterious parameters in CHT Editor, I certainly don't want to fiddle with ), and an Y position given from the pages upper position (same punishment here).
Since the Y positions are positive upwards and the origine is fixed as some top margin, then icons positions vertical coordinates have to be negative. No really funny to handle in hexadecimal, but some regsitry editors (not all) fortunately translate them into short, readable negative number in decimal notation.
The X (horizontal) coordinate is stored in the "CHT_PosX" (dword) value (not a surprise here).
Quicklinks don't have to worry about coordinates : this value is always set to 0 for them ; but widgets must have X and Y position defined... Except that Co0kie obviously kept older versions format, and there's no "CHT_PosY" value !
Instead, the value responsible for quicklink activation is used, sot the Y coordinate is stored in the "IsSet" (dword) value !
OK, some other values are used too, such as "HomeServiceType"=dword:0000000C identifying a toggle switch rather than a single actions icon as for instance "Restart" ("HomeServiceType"=dword:0000000E), but now we've managed to figure out how to display a widget, so let's try...
After some trial and errors, I finally could display the switch in the first rcolumn and under the second row.
But... It's not working ! When you press the icon, it animates correctly as when you click on any active icon, but it won't launch VolDpad, so of course, the switch won't toggle according to the registry key you added.
Widgets actually don't use the "ExePath" (REG_SZ) value. They're declared somewhere as widgets, not standard shortcuts, and just ignore the link to the program.
That's actually fortunate, as it could have led to some problems, due to the second bug NRGZ28 issued in his ROMs (explanations in the topic : the widgets actually contain the links to the missing quicklinks everyone reported last weeks) !
But it doesn't help me to have your switch acting as a widget.
You declared the new button by adding this line in the registry :
[HKEY_CURRENT_USER\Software\HTC\Manila]
"CHTI.AddonLinks.Slot0"="\CHTAddons\CHTAddon_VolDPadSwitch"
So I tried to add this one, following the official CHT widgets how-to :
[HKEY_CURRENT_USER\Software\HTC\Manila]
"CHTI.AddonWidgets.Slot0"="\CHTAddons\CHTAddon_VolDPadSwitch"
But this is where I finally failed : adding this line just crashes Sense !
Of course, if you have no idea how to do, then it won't prevent me from sleeping, but... I'd really like to have it a widget instead of a quicklink.
Any idea, please ?
Z80-Man said:
Any idea, please ?
Click to expand...
Click to collapse
Not a clue...
I'll have a read up and play around with it, but only just started looking at the widget thing so still learning it. I guess there may be more that needs to be added for it to work as a proper widget too.
I have mine setup with the quicklinks independent of the main screen, so I can setup several pages with quicklinks and still stay on the home screen. I keep all my setting/low level stuff to the left and apps to the right (with the main ones in the middle). Works for me.
As for the volume thing, adding the dll may restore the wm volume but I think after that you can use other volume control programs, its just the low level control which needs to start off as the ms volume control. At least I don't have to mod the switch for that.
Just wanted to let you know, that VolDPad and 6.5.XVolumefix work fine on my HD. First I installed your VolDPad toggle and than the volumefix. Now I have the nice Volumegraphics and I can use VolDPad. Sometimes I get an error message, saying VolDpad can't be started, but switching it on/off again helps and it works fine. Great work. It is much appreciated.
GSDLt said:
Just wanted to let you know, that VolDPad and 6.5.XVolumefix work fine on my HD. First I installed your VolDPad toggle and than the volumefix. Now I have the nice Volumegraphics and I can use VolDPad. Sometimes I get an error message, saying VolDpad can't be started, but switching it on/off again helps and it works fine. Great work. It is much appreciated.
Click to expand...
Click to collapse
I'll keep an eye out for the error, not quite sure why that is. I only use the switch occasionally but it really is nice to have that option, will have to remember to turn it on next time I'm browsing the web on it.
Glad you like it.
CHT Addon Widget Crash Tester
Hola guys, sorry for dropping in this late but I´ve been also testing some other widgets behind the scenes
Reporting now for duty and try this widget on my devices
I´ll do the "crash tests", but the "real" pro´s in CHT Groups will know what to check and where to look for after my reports and screenshots
Hi meltwater,
welcome in the world of the widget coding. I will test it to on my HD2. I hope i will find a game. Ahh i have allways Doom installed . Hope it helps to test things.
Z80-Man:
So I tried to add this one, following the official CHT widgets how-to
Click to expand...
Click to collapse
May i ask which one you mean. Because there is only one official guideline.
Z80-Man said:
New edit : the "double click" feature isn't handy. You usually press quickly to refine your move when you're near the target, and the "left" and "right" commands then trigger too easily (I think the delay needs to be reduced, so only a really fast double click will be taken in account).
Unfortunately, it looks like "left" and "right" actually mean "top" and "bottom" on PHM Regedit, and it's one where having a direction pad would be the most useful, as the tree upper part can't be scrolled with the finger !
Click to expand...
Click to collapse
I've not looked at that part of the code in too much detail, but it is open source (I can post my mods if anyone is interested). Chances are you can find the bit which controls the delay between two click or double click and get it to be set via the registry. Then of course you'll need a setting program to set them etc...etc. Would be great if you could set it to simulate pinch-to-zoom with it too.
Z80-Man said:
Of course, if you have no idea how to do, then it won't prevent me from sleeping, but... I'd really like to have it a widget instead of a quicklink.
Click to expand...
Click to collapse
Do you mean "free link" i.e. placed at any point in the screens rather than the quicklink list. If so just put it on mine and seems to work fine.
If it is anything else, haven't a clue what would need to be done, there isn't much else to make a switch out of than what is there already.
BHS Interceptor said:
Hola guys, sorry for dropping in this late but I´ve been also testing some other widgets behind the scenes
Reporting now for duty and try this widget on my devices
I´ll do the "crash tests", but the "real" pro´s in CHT Groups will know what to check and where to look for after my reports and screenshots
Click to expand...
Click to collapse
Excellent, I've tried to test it on my device, but the low level vol control side obviously if different on different devices. Hopefully the widget name is ok to use, I meant to register it but didn't get that far.