How to read out programmatically Zooming In/Out motion - Touch Diamond, MDA Compact IV General

I discovered with StylusLock that when the TouchPanel and Hardware keys are locked, still the Zoom function works in e.g. Opera.
You can try yourself:
1. Start Opera
2. Lock the TD with StylusLock
3. TouchPanel and all hardware keys are locked
4. Try to Zoom in/Zoom out in Opera, this still works
5. Also the Ok button seems to react
So I am thinking to use this as another unlocking possibility of StylusLock.
Does someone know how to programmatically read activity of the D-pad and/or Center hardware button?
Would be great if I know the API or have some example source code.

Theses are messages sent to the current window. If you want to disable it, you will have to intercept messages from the current window and don't forward the message you don't want to send.

Related

Unresolved Tilt Issues (Please Contribute)

Ongoing issues that need to be resolved - If you respond to any of these before you write any response PLEASE put the issue number at the top of your post, because this thread is going to get very large fast and this will help keep it somewhat organized, thanks.
#1: I have tried everything but can dump the time & battery icon off the title bar without alignment problems. Anybody find a key yet? Are we stuck creating new icon templates in black to save us from the alignment issue? Or has someone found a key to compensate the alingment loss from removing both time & battery status icons?
#2:Does Video Share work on the Tilt if you have an HTC ROM on it and are connecting with a Video Share enabled phone? (obviously this will only be applicable for people who live in the selected 3G networks for which Video Share is supported)
#3:When I make/recieve a call, and I try to access the top bar (start button) the top bar locks up. if I try a shortcut button to IE for example, IE loads but just says connecting... if I hangup the call, it redoes the 3G connection (it was 3G before I was on the call) and the IE works.
BUT the top bar is locked up. Start/3G icon, etc doesn't click. Only the "X" will work until I do a reboot.
#4
The "Buttons" setting only allows me to change the short press settings for 5 buttons. Elsewhere on this forum, there are instructions for adding the PTT button for both short press and long press, by adding registry keys 40C6 and 40C7. Can I add long press entries for other buttons?
Update!: According to HTC support, this is currently impossible. Sorry. (thanks deathace)
Update #2: Vito Button Mapper also enables push and hold functionality for the standard buttons (not PTT button) using the Start, Settings, Button Mapper. Also allows for customization of the soft buttons based on running application. Got to say that while Vito Button Mapper works, it's not that WM6 Pro friendly. In other words it works, but has some issues with icon display and uninstall. Hopefully HTC support will get their act together. (thanks Jim_R)
Update #3: Spb Pocket Plus 4.0.1 also allows for remapping of keys w/hold functionality, including PTT and works with WM6 (thanks _Alex_)
#5
Is there a way to choose radio frequency besides using Bandswitch? Meaning the setting would show up in the Phone Settings menu that allows Band Selection. Perhaps there are some registry edits out there?
Here is a cab file that replaces "PhoneSettings.Dll" with the one from the Rogers Canada Tilt Rom. and enables the Band Tab. You will be required to reset your phone after installation.
#6
There have been issues regarding connecting to WEP encrypted networks...if anyone else knows of these issues and a possible fix, please contribute...whitelisting the MAC address on the router has already been attempted (and failed).
This post has been moved and temporarily stickied.
Please be sure to visit the Wiki. Most of your questions can be answered there regarding the Tilt.
The previous thread, "The thread to address ALL TILT-specific questions" has been unstuck, but can still be used if required.
Have fun!
HTC steaming media seems to work on the TyTN II but not the tilt. of all the posts that I've read, and googled, only 1 person has said that their tilt works with streaming media is working, but not fully with every site, just a few. TCPMP with ytpocket seems to be the closest thing to a band aid. but this ony gets you youtube, not the other sites that work on a TyTN II with HTC SM.
kireol said:
HTC steaming media seems to work on the TyTN II but not the tilt. of all the posts that I've read, and googled, only 1 person has said that their tilt works with streaming media is working, but not fully with every site, just a few. TCPMP with ytpocket seems to be the closest thing to a band aid. but this ony gets you youtube, not the other sites that work on a TyTN II with HTC SM.
Click to expand...
Click to collapse
Okay, Here's the deal. HTC streaming media is for RTSP files only. That means Pocket YouTube. Yes it works in the US, but you have to have the correct ID/User Agent for it to work correctly. Basically the Streaming Media Player is a license of Real Player. All stock Tilt have an EXE called Real.exe in windows directory. If you open it, it's the same as Streaming Media Player, Has the same Icon as Real Player, & the about screen calls it HTC Real Player.
GSLEON3 said:
Okay, Here's the deal. HTC streaming media is for RTSP files only. That means Pocket YouTube. Yes it works in the US, but you have to have the correct ID/User Agent for it to work correctly. Basically the Streaming Media Player is a license of Real Player. All stock Tilt have an EXE called Real.exe in windows directory. If you open it, it's the same as Streaming Media Player, Has the same Icon as Real Player, & the about screen calls it HTC Real Player.
Click to expand...
Click to collapse
errrrrr. If you flash the identical ROM on a TyTN II and a Tilt, how are the files in the windows directory any different?
I think you misread what I typed.
OK, after serching in many forums, i found that the problem is:
"When the device is protected by a password (Start/Settings/Lock), the start menu freezes after ending phone calls. In addition, the backlight turns off.
This only happens if the phone call is long enough (more than a few secs) for the display to turn off during the call. This is to prevent accidental button presses. When the phone call is ended the display should come back up, however, this is where bug seems to manifest itself. Somehow the password protection gets in the way and turns the display off and freezes the start menu.
The reason why this is serious (especially for business users) is that when you use MS exchange sync, many businesses enforce policies requiring a device password (common & recommended practice). This means that the option of turning the device password off does not exist. Therefore, using exchange sync (with security policies enforced) and making phone calls does not work."
So, acording to this, there are two solutions:
1º Sinple turn of pasword protection if you don't need it;
2º (found in modaco) Change a registry entry:
\HKLM\Drivers\BuiltIn\RIL\EnableFastDormantDisplay DuringCall
From "1" to "0" will stop it but be warned if you arent using a headset then the touch sensitive screen will be in operation throughout the call so you may end up with your ear triggering applications etc...
cheers
HTC Kaiser QuickGPS Fix (Error solution)
Just import this .reg file into your Kaiser registry:
http://myego.cz/img/htc-kaiser/quickgps.reg
Nasty Camera
My phone works ok I guess and I am pleased with it. But I miss not being able to take photos with it. I used my TYTN all the time primarily as a mobile video station and a camera. But this KAISER is a complete mess when it comes to taking photos.
My point is, can someone tell me how to turn off the auto focus is thats the problem or does anyone have any idea how to speed up the lens to capture time. It takes forever to set its focus. Oh, and don't start me on video capture as that IS the joke of the century.
I can't believe what a step back this KAISER is in comparison to its older brother the TYTN. I expected this phone to at least take a moderate picture. Why on earth is the 2nd camera better (VGA) than the 3MP main camera. It is completely crazy.
I digress and am off to cry now.
Hi all,
may I know if anyone had face this problem. Whenever we receive an SMS, it pops up as a notification at the bottom of the screen. But the notification normally have 2 options: Normally, reply/view on the left and menu on the right. For the left option, sometimes it is "reply" and sometimes it is "view". Is this normal? How can I change it to permanently as "view" only?
Thanks all in advance.
Cheers
eRic
ConcaveLiNkiN said:
Hi all,
may I know if anyone had face this problem. Whenever we receive an SMS, it pops up as a notification at the bottom of the screen. But the notification normally have 2 options: Normally, reply/view on the left and menu on the right. For the left option, sometimes it is "reply" and sometimes it is "view". Is this normal? How can I change it to permanently as "view" only?
Thanks all in advance.
Cheers
eRic
Click to expand...
Click to collapse
Hi eRic,
It is shown as "Reply" when your message fits the dialog box notification neatly. If it doesn't "View" is shown for you to read the full message. Hope this helps.
Hey, actually I have a problem synchronizing. I have been told that if a Kaiser is connected to a PC through Activesync, then the Kaiser could use the PC's Internet connection. And I think that is great, except mine won't. Instead my PC will try to use my Kaiser as a modem, even though it is already connected.... What can I do?
caulirick said:
Hi eRic,
It is shown as "Reply" when your message fits the dialog box notification neatly. If it doesn't "View" is shown for you to read the full message. Hope this helps.
Click to expand...
Click to collapse
Hi caulirick,
thank you so much. That explains why, sometimes I see "reply" and sometime I see "view".
Again, thank you so much
Cheers
eRic
Doug2873 said:
#4
The "Buttons" setting only allows me to change the short press settings for 5 buttons. Elsewhere on this forum, there are instructions for adding the PTT button for both short press and long press, by adding registry keys 40C6 and 40C7. Can I add long press entries for other buttons?
Update!: According to HTC support, this is currently impossible. Sorry. (thanks deathace)
Update #2: Vito Button Mapper also enables push and hold functionality for the standard buttons (not PTT button) using the Start, Settings, Button Mapper. Also allows for customization of the soft buttons based on running application. Got to say that while Vito Button Mapper works, it's not that WM6 Pro friendly. In other words it works, but has some issues with icon display and uninstall. Hopefully HTC support will get their act together. (thanks Jim_R)
Update #3: Spb Pocket Plus 4.0.1 also allows for remapping of keys w/hold functionality, including PTT and works with WM6 (thanks _Alex_)
Click to expand...
Click to collapse
DoubleLauncher also includes similar functionality, but with even more options:
single tap, double tap, single hold, double hold, triple tap - 5 combinations per button - HTC may be right that it isn't possible with vanilla windows, but it is obviously possible to code something.
wifi vs AT&T
Sorry for asking a question that I am sure was already addressed (unfortunately I cannot find it).
How do I instruct my AT&T Tilt (Kaiser) to try to connect using WiFi when it is present rather then connect using AT&T GPRS, 3G whatever?
When I bought my phone in October, I got advice from Howard Forum to go to your site (http://forum.xda-developers.com/att...22&d=1191864241) to get a cab file. I did that, and it worked.
I had to replace my phone which was defective, and now I wanted to get the same cab file for the new phone but the link no longer works.
Your advice and help will be very much appreciated. If you prefer you can send me a private message to [email protected].
upgrade??
I was this close to jumping from the 8525 to the 8925 but advised not too: ATT rep says there are software and hardware issues that they are working on with HTC and IT guys say they've had issues as well.
What's the consensus here? is it worth the risk or should I wait a while longer for things to iron out?
Scrog said:
I was this close to jumping from the 8525 to the 8925 but advised not too: ATT rep says there are software and hardware issues that they are working on with HTC and IT guys say they've had issues as well.
What's the consensus here? is it worth the risk or should I wait a while longer for things to iron out?
Click to expand...
Click to collapse
Well, the Video Rendering sucks. All in all though, I have to say I really like the device. It's okay out of the box, but after tinkering & tweaking I have to say that I'm glad I moved to the Kaiser. The GPS is solid for me & after changing my DNS settings to OpenDNS the internet is fast. I tether a lot & get great speed on my laptop (when in HSPDA or 3G). Yess, there are some issues, but I think it's the best device around. I've had no problems with my Tilt or my TYTN II. It works really well with our Blackberry server & I get my emails fater on my device than on my pc.
The only issue for me again is the video. But it's mostly a work device for me, so vide isn't a big deal. Besides TCPMP playback is good enough for catching up on my missed episodes of House MD.
I'd say go for it.
Hi all,
I wonder if this is even consider a problem or bug. At the Today screen, there will be times when you are overflow with schedules. Then a scroll bar will appear at the right most of the screen(as shown below left). The scroll bar stretch all the way from the top of the screen to the bottom of the screen. Is it possible to change it to such a way that the scroll bar starts from the bottom of the Today plug-in to the bottom of the screen(as shown bottom right). Please kindly advice if this can be done.
Thanx
Cheers
eRic
You can use HHC (home plug-in config) to lock the home plug in. Then the scroll is just at the bottom. There is a registry setting to do the same thing, but I don't know what it is. The HHC is a great utility as you can back up the plug in and change the fonts and icons too.
OpenDNS
GSLEON, where does one change DNS settings to the OpenDNS settings? Thanks.
What can I do???
Hello all,
I am on my second Tilt now (on AT&T network) but I am still having voice clarity issues. Very choppy conversations at times, even when connected to a landline, but there are always at least 2 signal bars & 3G displayed. I have tried to disable the data before making calls, but so far I have seen no improvement. Could Active sync have something to do W/ my problem? It always seems to be running. Also, I am using the stock AT&T rom.
Any input provided pertaining to my issue is greatly appreciated.
Tobe

Mute call from hardware button

Update: Version 2 of this can be found here http://forum.xda-developers.com/showthread.php?p=2905629
Hello,
I have always fumbled to get to the mute button on the phone screen while on conference calls and decided to look for a program to map to a hardware button to mute/unmute a call. I did not have much luck finding anything so I went ahead and wrote my own. This forum has helped me out tremendously in the past, so I decided to share my program here with the hopes that it can help someone else out.
I made the program fairly configurable. If a call is in progress, it will toggle the mute button. If a call is not in progress, it can be configured to run any other program of your choice (that way the hardware button isn’t wasted).
I did not write a configuration utility, so you have to configure it manually in the registry. Here are the registry details.
HKLM\Software\itsallwright\MobileMute
Options:
BringPhoneToFront = 1 or 0 (If 1 then it will bring to phone app into focus when it runs)
MuteSound = DialPadCtlKey (this is the system sound that is played when the program mutes the call)
PlaySound = 1 or 0 (if 1 then it will play the mute/unmute sounds)
RunProgram = 1 or 0 (if 1 then it will run the configured program if a call is not detected)
RunProgramPath = \somepath (path to desired program to run)
UnmuteSound = DialPadCtlKey (this is the system sound that is played when the program unmutes the call)
Config: (this is how it works – hopefully does not need to be changed, but can be for different devices)
ConnectedText = Connected: (this is the text that shows in the dialer when a call is in progress)
LastCallText = Last Call: (this is the text that shows in the dialer when a call is not in progress)
MuteButtonText = Mute (the text of the mute button)
MuteID = 0x53A0 (ID of the mute button – use spy program to get this)
PhoneWindowTitle = Phone (title of the dialer)
UnmuteButtonText = Unmute (text of the unmute button)
UnmuteID = 0x53A1 (ID of the unmute button – use spy program to get this)
I have tested this on my Kaiser with the default ATT WM6 ROM and on a friend’s Apache with an unknown WM6 ROM.
BTW - this is my first WM application, so don't beat me up too bad if it is not perfect
Enjoy,
Jay
This is very useful and should be posted in the general PPC software areas, why keep this secret for only those in the Kaiser forums?!
This seems to be exactly what I'm looking for...thanks!
Anybody try this on a titan/mogul/xv6800 yet?? I'll have to do some research to figure out my 'button ID', but it looks like it will be well worth it!!!
Excellent....
I have been looking for this functionlity of hard button mapping of call mute. I was hoping MS would implement a virtual key code for the mute function in the newer wm like for the speakerphone but never happened.
Thanks much itsallwright. It works perfect in my tilt. Now, I can use hard buttons for speakerphone & mute (long press green key and I have mapped PTT key for mute.) It was one of the most of useful things I was missing from my BB. Specially for that long conference calls where you have to occasionally say something and keep quite rest of the time.
Dishe said:
This is very useful and should be posted in the general PPC software areas, why keep this secret for only those in the Kaiser forums?!
Click to expand...
Click to collapse
That is a good point. It was developed for the Kaiser, but theoretically should work on any WM6 device with phone functionality (button IDs might change from device to device though). Unfortunately, I do not know how to move threads. Is it possible to move this to a better place?
Jay
Thanks a Million!
I have been searching without success for ages...more than 2 years for something like this. Search terms I used were "wm6 hardware mute button", "wm6 mute and speakerphone buttons on single dialer page", "assign hardware button for mute", "wm6 phone mute button on dialer", etc
Since there are not any apps to do this, I was attempting to use a combination of utilities (such as VJ Phone utils, AE Button Plus, Vito button mapper, etc) to try and get it working without any success. There does not even seem to be available paid non-freeware utils to do this most important function.
This certainly helps a lot. It works just perfect on my Cingular 8525 and I have the PTT button assigned to it with flashlight being the alternate application that will be used when not in phone mode.
Couple of suggestions:
1) This might already exist in some other utility, but I like your configuration capabilities and the way this utility sets up and it will be nice to extend it to have a speakerphone hardware button in a similar fashion. I guess I can do this on my own by making a copy of your registry keys and modifying them to the speakerphone code...will try and see.
2) When I am in the phone dialer with the keypad, and I press the mute button it switches to the alternate screen without the dialer numeric keys - only the mute, speakerphone etc buttons are available on that screen. Is there a way to make it do its thing without switching the dialer screen in this manner ? This is because I need to have the key pad ready when I either toggle from mute or speakerphone and back and I guess this will be most useful for people who are on conference calls all the time.
Thanks again for a wonderful must-have utility. Dialer developers and ROM cookers should consider having this standard part of distributions. Or give an option to users to have a single screen for the dialer instead of one for the keypad and another for the call staus. There is so much real estate on the phone screen that is wasted if a video call is not in progress and it can very well be used to have all the buttons on a single screen.
Harish
I am glad you like the app and that someone else will get some use out of it.
shenoyh said:
1) This might already exist in some other utility, but I like your configuration capabilities and the way this utility sets up and it will be nice to extend it to have a speakerphone hardware button in a similar fashion. I guess I can do this on my own by making a copy of your registry keys and modifying them to the speakerphone code...will try and see.
Click to expand...
Click to collapse
pvenkat stated above that he long presses the green talk key to toggle speaker phone. That seems to work well for me. Does that not work on your phone?
shenoyh said:
2) When I am in the phone dialer with the keypad, and I press the mute button it switches to the alternate screen without the dialer numeric keys - only the mute, speakerphone etc buttons are available on that screen. Is there a way to make it do its thing without switching the dialer screen in this manner ? This is because I need to have the key pad ready when I either toggle from mute or speakerphone and back and I guess this will be most useful for people who are on conference calls all the time.
Click to expand...
Click to collapse
The reason it covers the keypad when you toggle mute it because the BringPhoneToFront setting is set to 1. Try setting it to 0 and it will not interfere with your windows.
Jay
Works Like a Charm
Thanks!
Life-changing app if you're on a lot of con calls.
Sweet app!!!
I was unable to install it with the instructions you provided...
But... happily, I was able to find a way around to do it
In case anyone is interested in the approach I took for the setup. Here it is:
My easy to do manual setup
1) Extract the .cab file contents (tools like winrar can do that)
2) rename the mobile~1.001 to MutePhone.exe (or whatever .exe name you want to give it)
3) Upload the exe to your phone to the directory where you want to place it.
4) Install Schap's tools - Advanced Configuration Tool 3.2 released (Link)
5) Use the keymapping feature of the app to map a key to the MutePhone.exe. My personal preference was to map it to pressing and hold the send key (Long press Send key)
Have fun with the MutePhone tool. itsallwright really created an awesome application
Hi,
what is best way way to get the mute and unmute ids for the beautiful HTC Opal Dialer?
Thanks
MobileMute_v2
pvenkat said:
Hi,
what is best way way to get the mute and unmute ids for the beautiful HTC Opal Dialer?
Thanks
Click to expand...
Click to collapse
I have written a MobileMute_v2 and am getting ready to post it here. I will try to post instructions to getting your button IDs at that time.
Jay
Is there a way to just execute this and have it toggle mute/unmute without hardware mapping a key and perhaps without staying resident... or are there any future plans to allow command-line execution? -- I am trying to figure out how to be able to mute/unmute the calls from another app (mortscript) in order to eventually create an ad-hoc music-on-hold function. ;-)
Thanks
trueblue_m_1965 said:
Is there a way to just execute this and have it toggle mute/unmute without hardware mapping a key and perhaps without staying resident... or are there any future plans to allow command-line execution? -- I am trying to figure out how to be able to mute/unmute the calls from another app (mortscript) in order to eventually create an ad-hoc music-on-hold function. ;-)
Thanks
Click to expand...
Click to collapse
Yes, that is how this version of the program works. When it starts, it will detect if a call is in progress. If so, it will toggle the mute button and then exit.
v2 is the one that stays resident to eliminate the delay caused by the program initializing. But it only stays resident if it can detect the hardware button used. Otherwise, it functions just like this version.
While writing v2, I found a couple bugs in this version. One being that the setting for button IDs is ignored. So if you need to change button IDs, get MobileMute_v2
Good Luck,
Jay

[DIAMOND] Unable to assign button -> Unable to do screenshots

Hello,
I'm using my HTC diamond without the touchFlo GUI, and I have to do screenshots of Opera web pages (specific errors are displayed) However I not able to do that because screenshots softwares like Magic SS or others needs to be assign to an hadware button in order to capture pages.
Even if, when I map the program to the only choice "button1 (Hold)" in the "buttons" menu, when I hold this button, either the voice dialer thread systematically launches else opera pages moves to the background and as theses softwares capture the active page, impossible to catch web pages
I have already tried to install Hbutton or some stuffs like this, impossible to do screenshots of opera web pages. Any ideas to solve my problem ? Why I cannot see the other buttons in "buttons" menu ? Is it possible to fix that ?
Thx for help !
Softwares like Resco Photo Viewer has screen capture to take screenshot after 10 sec. You may open these software and the software screen you would like to take screeshot, and use task manager to switch for taking picture.
Thx for your help !
Do you know a software like Resco Photo Viewer, but Free ?

Noob zoom wheel question

I know this is such a noob question but I don't see anything in any docs telling me how to use the zoom wheel or smartTouch I think I've seen it called in here.
I have had my diamond for a few months now, using the latest sprint rom from the HTC site, but I've never used the zoom wheel for anything other than as an enter key though Ive tried using it, it never does anything except as enter key press. It's supposed to have some functionality in stock roms isn't it? Where can I try it?
Virtual wheel...
In stock ROM's, the zoom wheel will zoom in and out in apps like Opera and Album, also it will change the text size in emails and texts. Some cooked ROM's have increased the usage to include scrolling through lists as if you were tapping the up and down hardware keys. I don't know of any other functionality for it
grahamkdt said:
In stock ROM's, the zoom wheel will zoom in and out in apps like Opera and Album, also it will change the text size in emails and texts. Some cooked ROM's have increased the usage to include scrolling through lists as if you were tapping the up and down hardware keys. I don't know of any other functionality for it
Click to expand...
Click to collapse
Cool thanks, I have to try and figure out if mine is working properly, it seems like it may not be.

[Q] one touch recorder and dialer in background

Hi,
I am looking for a recorder app and a dialer that work in background (specifically, with no soft keys available).
I want to use these on my touch pro (raphael) where I need to keep the dialer and recorder mapped to a hardware key and be able to access them without having to unlock the phone. Now I have done the key mapping etc but the problem is when I activate them, they pop out with a windows softkey, thru which the phone can be accessed while still in locked state.
I need something that has no visible windows (or any other keys) apart from say disconnect, stop recording etc. so once i am done, the phone quietly goes back to locked state.
any pointers?
You could get Resco Audio Recorder. It has a setting to record all phone calls. I use it, and it works fine. You don't need to futz around with any buttons during a call. It does use a lot of RAM once it's loaded, but it doesn't use any cpu time in the background and doesn't affect performance. It's also a really good voice recorder (much better than the htc one). Try out the demo and see if you like it (I think it costs around 10 bucks).

Categories

Resources