Go Back   xda-developers > HTC Hermes: 8525, TyTN, MDA Vario II, JasJam > 8525, TyTN, MDA Vario II, JasJam General


Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 22nd September 2006, 06:35 PM
vmirage vmirage is offline
Senior Member
 
Join Date: Mar 2005
Posts: 103
Default Ringer Vibrate switch

I wrote a small piece of code to switch between vibrate and sound on. I've created the cab installer. Just follow the instruction below to install it.

1. Just install the cab.
2. Map Button 5 (Press & Hold) to 'Vibra (Switch)'.

Whala... you just got a vibrate switch just like an HTC Wizard!

To start the program in delayed mode you need to apply the /d switch. However, I've created a shortcut for the delayed mode as Vibra (Switch) Delayed. Because of this, you're forced to install the program in the main memory as I don't know how to create a shortcut with parameters in the Cab installer. Anybody care to teach me how?


UPDATES
v1.32 : added switch '/d' to delay 1.0 second start up
v1.31 : Fix bug where flight mode toggle was toggled even when button has been release on silent mode. Also optimized button handling to detect button release during buzzing and in between.
v1.3 : Hold the button even longer (approx another 2 second), will toggle flight mode (while retaining current normal/vibrate/silent settings).
v1.2 : Hold the button longer (approx 1 second), will set the phone to silent mode. (This only works with App button 1-6)
v1.1 : Now run with '/q' parameter to switch mode without vibrating the phone.


EDIT:
There's no more update or any changes will be made to this program as I've lost the source code.
Attached Files
File Type: zip Vibra (Switch) 1.32.zip (5.6 KB, 8542 views)
__________________
Dopod 838 Pro (Dopod ROM)
Rom Version : 1.23.707.4
Radio Version : 1.06.00.10
Protocol Version : 32.37.7010.01H

Play online games for free at ZigyuGames.com

Last edited by vmirage; 27th February 2008 at 03:25 PM.. Reason: update version
Reply With Quote
Sponsored Links

  #2  
Old 22nd September 2006, 09:18 PM
shugoh shugoh is offline
Member
 
Join Date: Feb 2006
Location: U.S.A.
Posts: 31
Default

Works great!

Thank you!
Reply With Quote

  #3  
Old 23rd September 2006, 01:48 AM
pof's Avatar
pof pof is offline
Moderator
 
Join Date: Mar 2005
Location: Barcelona
Posts: 3,567
Default

Thanks, it works perfect here too. I added it to the wiki FAQs.
Reply With Quote

  #4  
Old 23rd September 2006, 01:56 PM
pa7rb pa7rb is offline
Junior Member
 
Join Date: Sep 2005
Posts: 12
Default Re: Ringer Vibrate switch

Quote:
Originally Posted by vmirage
I wrote a small piece of code to switch between vibrate and sound on. I've created the cab installer. Just follow the instruction below to install it.

1. Just install the cab.
2. Map Button 5 (Press & Hold) to 'Vibra (Switch)'.

Alternatively you can use AEButton Plus and map your wheel button (#0086) long press to the shortcut you just made. To map this you probably need to focus on say Shift Key first by clicking on it once. Else your wheel button will press the cancel button when trying to map the key.

one problem though, if you map to #0086, the button still clicks when you hold the button down.

So, you might want to map it to stick to the Button 5 instead.



Whala... you just got a vibrate switch just like an HTC Wizard!

I made the vibrate to sound on a 200 ms vibrate though. Slightly different from HTC Wizard.
Reply With Quote

  #5  
Old 23rd September 2006, 05:17 PM
Asukal's Avatar
Asukal Asukal is offline
Senior Member
 
Join Date: Nov 2003
Location: Shenzhen/China--But Japanese
Posts: 692
Default

Great Woooork!

Now i also hacked "Profiles Swtich Application" from IDO and Eten,
If you interested in them,,,you can try.
I tested on my Himalaya WM5 and Vario II and work well.

<Auto answer function of IDO Profiles was missing> :lol:

How about thoes???
Attached Images
File Type: jpg eten_sinario_jp.jpg (13.2 KB, 1604 views)
File Type: jpg eten_sinario.jpg (13.3 KB, 1082 views)
File Type: jpg ido_profiles.jpg (15.5 KB, 1143 views)
Attached Files
File Type: zip scenarios_wwe.zip (87.8 KB, 717 views)
__________________
Asukaly yours!
Too many things i want to do.
Too DARK to tell the others!
http://asukal.seesaa.net - Previouse
http://asukal.net/blog
Reply With Quote

  #6  
Old 23rd September 2006, 08:00 PM
christopherwoods's Avatar
christopherwoods christopherwoods is offline
Senior Member
 
Join Date: Sep 2005
Location: Birmingham, United Kingdom
Posts: 559
Default

Interesting (and good!) work guys, will try both sometime in the very near future
__________________
First the Touch Pro and now the Pro 2? I can't afford both!

3G.TotallyOwns - 3G audio/video streams, direct links

March 2008 - Today:
Hermes (Vario 2)
AKU 3.0.4.2 (build 18125), Flext 30, WnW+
ROM: 3.60.110.4_6275 (09/04/2008)
Radio: 1.50.00.00
Protocol: unknown...

September 2006 - March 2008:
Hermes (Vario 2)
AKU 2.3, Flext 25, Web 'n Walk + HSDPA
ROM: 1.21.110.3 (06/19/06)
Radio: 1.05.05.00
Protocol: 32.36.7010.04H

30/11/2005 - September 2006:
Alpine (O2 XDA 2i)
Reply With Quote

  #7  
Old 23rd September 2006, 08:02 PM
fantastic_mr_q's Avatar
fantastic_mr_q fantastic_mr_q is offline
Member
 
Join Date: Aug 2006
Posts: 38
Default Can anyone do this?

don't you think it would be awesome if there was a way you could push a button on the today screen that scrolled through these four settings,

Silent
Silent & Vibrate
Ring
Ring & Vibrate

And it showwed you on the today screen what setting your on. I don't mean just the ringtone though, I mean all notifications. So when your out you can have it on vibrate cos its in your pocket but when ur at home it don't wobble across the table and disturb everyone without u having to change the settings for each individual alert.

I've tried the ScenariosE program and the Profiles program and they are both half way there. I notice on both of em there is a show icon option? But where does it show the Icon as to what profile u are on. and why does it only change ur ringing tone, not your messages and notifications?

I feel that if we could get this perfect we could really be onto something. I know a fair few people with WM devices that could really benefit from it.

Is there anything that does this or does anyone know enough about the hardware to make something that does this?


EDIT

just noticed whereas profiles doesn't seem to work at all on my Vario II, have found that ScenriosE does only affect the vibrate settings for the atual ringtones and if you adjust volumes using ScenariosE it only affects the notifications volume. The slider for the ringtones does nothing??? Very strange
Reply With Quote

  #8  
Old 23rd September 2006, 08:18 PM
Asukal's Avatar
Asukal Asukal is offline
Senior Member
 
Join Date: Nov 2003
Location: Shenzhen/China--But Japanese
Posts: 692
Default

ipaq hwl69xx and 65xx has today plugin and what u want.

i am on the way to hack!
__________________
Asukaly yours!
Too many things i want to do.
Too DARK to tell the others!
http://asukal.seesaa.net - Previouse
http://asukal.net/blog
Reply With Quote

  #9  
Old 23rd September 2006, 08:20 PM
christopherwoods's Avatar
christopherwoods christopherwoods is offline
Senior Member
 
Join Date: Sep 2005
Location: Birmingham, United Kingdom
Posts: 559
Default

Just installed the vibra switch cab and assigned to button 3 (the comms. manager, at least on the Vario 2) - works beautifully. Love the much shorter vibrate when it goes off vibra to signify it's back on ringtones again... Nice touch.

The Comms Manager button seemed like the natural choice to me, as it has a little icon of a circle with waves coming out of it, so it fit the bill quite nicely. Anyways, my Comm. Manager is bound to my right softkey, so the button was redundant anyway
__________________
First the Touch Pro and now the Pro 2? I can't afford both!

3G.TotallyOwns - 3G audio/video streams, direct links

March 2008 - Today:
Hermes (Vario 2)
AKU 3.0.4.2 (build 18125), Flext 30, WnW+
ROM: 3.60.110.4_6275 (09/04/2008)
Radio: 1.50.00.00
Protocol: unknown...

September 2006 - March 2008:
Hermes (Vario 2)
AKU 2.3, Flext 25, Web 'n Walk + HSDPA
ROM: 1.21.110.3 (06/19/06)
Radio: 1.05.05.00
Protocol: 32.36.7010.04H

30/11/2005 - September 2006:
Alpine (O2 XDA 2i)
Reply With Quote

  #10  
Old 23rd September 2006, 09:16 PM
ori_lavee's Avatar
ori_lavee ori_lavee is offline
Member
 
Join Date: Apr 2005
Posts: 53
Default

Asukal
This is great !

i installed the Scenarios_WWE.cab on my i-mate JasJam and its work good
but i canot see the small icon on the comand bar even after SR :cry:
why ?

ori
__________________
Ori Lavee
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 03:55 AM.


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