Go Back   xda-developers > HTC Raphael: Touch Pro, Fuze > Touch Pro, Fuze Themes and Apps


Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 28th December 2008, 03:09 PM
siggie1970 siggie1970 is offline
Junior Member
 
Join Date: Dec 2008
Posts: 3
Default Butler - Using capacitive area as stroke launcher and many more features

I really enjoy this forum since it helps me a lot to increase the productivity with my HTC Touch Pro. I found many useful applications. Unfortunately, after installing a large number of them, I run into the infamous 32 processes limit of Windows Mobile. So I decided to write my own app that combines all the features that I find useful. It is implemented as a Pocket PC service, so it does not require an own process.

Here are the features:

- Better vibration for incoming calls. I found the built-in vibration function very annoying as it vibrates permanently during an incoming call. This extensions vibrates in pulses of 300 ms with a pause of one second when a call is incoming
- SIP changer depending on stylus state. If stylus is out, another soft input panel is selected as if stylus is in. Can be changed via the registry keys StylusInSIP and StylusOutSIP.
- Stroke Launcher. If the finger is stroked from one button to another, an application is launched.Four directions are possible: From home button to accept phone call button and vice versa as well as from back button to reject phone call button and vice versa. The applications can be configured via the RightUpApp, RightDownApp, LeftUpApp and LeftDownApp registry keys. The required length of the stroke can be configured via the GestureMinLen registry key. Unfortunately, the program has to poll HTC's NAV sensor directly in order to not disturb the functionality of the wheel sensor. The sleep time between two polls can be configured with the GesturePollingDelay (in ms). If you use very fast strokes and the device does not react, try to decrease this value.
- Key lock if device is face down. The key lock is activated and the device is powered off if it is turned face down. The key locked is acknowledged by two short vibrations. Key lock can be disabled depending on the foreground window or active process list. Exclude list can be specified via the ExcludedProcesses and ExcludedWindows registry keys. The tolerance for the face down detection can be configured via the FacedownTolerance registry key.

The registry settings for Buttler are stored in HKLM\Software\Butler. Each extension described above can be switched of by setting the EnableFeature registry key to 0.

As I have not much time to react on bugs or feature requests, I have also attached the source code. Fell free to modify my Butler but please publish it here so that we all can benefit from it.

The Butler service is started with the program "StartButler.exe" located in the Windows directory. I call it from a MortScript during device boot. It is important that HTC Touch Flo 3D is already loaded. For some reason, the gsensors can not be initialized if Touch Flo 3D is not loaded. Here is the code I use:

# Wait for TouchFlo3D
While(ProcExists("manila.exe")=0)
Sleep(1000)
EndWhile

# Start the butler
Run("\Windows\StartButler.exe")

Have fun!

Siggie

Change log:

V1.0:
- Initial release

V1.1:
- Reading of the NAV sensor completely rewritten. The sensor is now directly polled. This does not interfere with other programs, so the wheel sensor and the camera is working again.
- EnableFeature registry keys added for switching off each extension individually.

Quote:
Originally Posted by linuxis View Post
New thread For Keyboard Slide Out Support:
http://forum.xda-developers.com/show...30#post3305730

Updated CAB is there. Happy using.
Attached Files
File Type: cab Butler.1.0.cab (20.2 KB, 197 views)
File Type: zip Butler.1.0.sources.zip (31.5 KB, 85 views)
File Type: cab Butler.1.1.cab (21.2 KB, 1948 views)
File Type: zip Butler.1.1.sources.zip (36.2 KB, 538 views)

Last edited by Noonski; 13th June 2009 at 11:56 PM..
Reply With Quote
Sponsored Links

  #2  
Old 28th December 2008, 04:23 PM
zsunsun zsunsun is offline
Member
 
Join Date: Nov 2008
Posts: 53
Default

sounds like an excellent program, I'll try it
Reply With Quote

  #3  
Old 28th December 2008, 05:13 PM
kwill's Avatar
kwill kwill is online now
Senior Member
 
Join Date: Jun 2006
Location: In the heart of TX
Posts: 3,179
Default

man, great app. it is totally replacing hbutton, and lets me start using voice commander again. two questions....can you list the other sip layout entries? i really want to use the full qwerty when the stylus is out and in. secondly, is there a way to define a diff lock such as s2u2 and then shut down. either way, the function is fine as is and really, thanks for sharing
__________________
Tilt 2
ROM: Arks Latest 23529 Sense 2.5
Radio: 4.49.25.57
Every Att HTC device
Pocket PC device (IPAQ 1945) and Motorola MPX 200 when I fell for WinMo Get some of that

Something to think about......
PM me for Health and Wealth

Last edited by kwill; 28th December 2008 at 05:16 PM..
Reply With Quote

  #4  
Old 28th December 2008, 05:39 PM
bugsykoosh's Avatar
bugsykoosh bugsykoosh is offline
Senior Member
 
Join Date: Jun 2007
Posts: 685
Default

I'm interest in Stroke Launcher more than the other apps. is there a chance you can provide a cab for just that portion of your application> I know it's contrary to your original intent (of combining apps) but that's the only one of those apps I really would want so I have the opposite- no desire to install any extra apps even if it's a single process Thanks.
Reply With Quote

  #5  
Old 28th December 2008, 05:48 PM
lbhocky19 lbhocky19 is offline
Senior Member
 
Join Date: Feb 2007
Posts: 1,220
Default

about to give it a shot, sounds great
but i second the request to have s2u2 when put face down
__________________
ATT Fuze / Proven 1.14 rom
stock radio

retired 8525 half white screen
Reply With Quote

  #6  
Old 28th December 2008, 06:09 PM
kwill's Avatar
kwill kwill is online now
Senior Member
 
Join Date: Jun 2006
Location: In the heart of TX
Posts: 3,179
Default

noticed that if you delete the entries for sip, keeping the actual keys though. butler wont start. guess it still needs to check those values i was trying to get it to do nothing to my sip's and just keep full qwerty.
edit** here is the key for full qwerty {36BC8FF6-8241-4c36-ABDE-204885471FEE} and the other keys are all listed under HKCR/CLSID and look like this:
(HTC SIPs)
{198D503A-...} = Phone Keypad
{36BC8FF6-...} = Full QWERTY
{62B00599-...} = Compact QWERTY
(MS Default SIPs)
{42429667-...} = Keyboard
{42429690-...} = Letter Recognizer
{42429691-...} = Block Recognizer
{F0034DD0-...} = Transcriber
Maybe it would be easier to be able to just input the name
__________________
Tilt 2
ROM: Arks Latest 23529 Sense 2.5
Radio: 4.49.25.57
Every Att HTC device
Pocket PC device (IPAQ 1945) and Motorola MPX 200 when I fell for WinMo Get some of that

Something to think about......
PM me for Health and Wealth

Last edited by kwill; 28th December 2008 at 06:32 PM..
Reply With Quote

  #7  
Old 28th December 2008, 06:46 PM
pandaboyy's Avatar
pandaboyy pandaboyy is offline
Senior Member
 
Join Date: Dec 2006
Location: Montreal
Posts: 708
Default

Sound great, I'll give it a try as well.
can you make it so that when it face down, the light turn off?
__________________
Device AT&T Fuze since 11/24/08 (brick/fixed/sold) New Fuze since 08/2009
Rom |RAPH|ROM|6.5|WWE| ★ EnergyROM 'Genesis' (SYS 23016) ★ | Built Sep 20th | Manila 2.1!
Radio 1.14.25.35
SPL 1.90.3 OliNex
Reply With Quote

  #8  
Old 28th December 2008, 06:49 PM
lbhocky19 lbhocky19 is offline
Senior Member
 
Join Date: Feb 2007
Posts: 1,220
Default

ok i figured out how to change what sip came when
and i turned off "facedown"

only problem is that the smart scroll such as zooming in opera and pics no longer works or autofocus in camera
__________________
ATT Fuze / Proven 1.14 rom
stock radio

retired 8525 half white screen

Last edited by lbhocky19; 28th December 2008 at 10:28 PM..
Reply With Quote

  #9  
Old 30th December 2008, 08:38 PM
Artanis's Avatar
Artanis Artanis is offline
Member
 
Join Date: Sep 2007
Location: Southern Cali
Posts: 48
Default Great app cannot go unrecognized!

so i downloaded and installed and forgot to make shortcut. A day after i just luanch it using fileexplorer with copy on storage card. Sounds like alot but considering i only reset once a week maybe... its not so bad.

After using it for a half day. I have to admit i was waiting for a way to use shortcuts with out using manilla. I am a RLtoday fan and i dont really use all of manilla features. I LOVE IT. I am considering removing Manilla all together. This has great potential for those of use that want alternatives to manilla.

This should really be placed in essentials.

Thank you.

**BTW cant get screen lock disabled, anyone have more detailed instructions for disabling face down lock?
__________________
HTC Touch Pro
History>
HTC 6800
UTSCom 6700
---Motorola !870. Everyone starts Modding at somepoint.

Last edited by Artanis; 30th December 2008 at 09:06 PM.. Reason: screen lock
Reply With Quote

  #10  
Old 30th December 2008, 11:06 PM
lbhocky19 lbhocky19 is offline
Senior Member
 
Join Date: Feb 2007
Posts: 1,220
Default

to disable the lock i set the sensor threshold to 0
in the registry path that was said earlier in the thread
__________________
ATT Fuze / Proven 1.14 rom
stock radio

retired 8525 half white screen
Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 01:38 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.