Go Back   xda-developers > Windows Mobile Development and Hacking > Windows Mobile Apps and Games


Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 10th September 2008, 12:48 PM
Kisja Kisja is offline
Senior Member
 
Join Date: Aug 2005
Posts: 316
Default [APP][01.10.2008] Vibration Feedback

Vibration Feedback for Windows Mobile 5+ (DISCONTINUED)

Original Thread: http://forum.xda-developers.com/showthread.php?t=412491

Different approach by writing an own touch.dll: http://forum.xda-developers.com/showthread.php?t=450256

This Software lets the phone vibrate when the touchscreen is touched. This feature is knwon from the Samsung Omnia Phone for example. It gives a better response and feeling for a finger tip on the screen.

It consists of two parts. The first one is VOA aka vibrate.exe (which is already mentioned in different threads) by Const and a configuration part VOAConfig by Kisja.

Help needed!
VOA is not developed anymore and the sources are not availible. To optimize the reaction and some other things (see TODO later) we need to rewrite VOA. Since I have not enough time for it, we need someone who has experience in development. I could help with some ideas, since I know how VOA works. Send mit a PN or simply reply on this thread!

Current version with VOA 01.10.2008 and VOAConfig v1.5: Vibration_Feedback_1.5_01.10.2008_volume fix.cab

VOA by Const
It's a little application which runs in background and reacts on user activities with vibration.

Features:
- Vibrate always on touch events (mouse down, or mouse up)
- Vibrate only if SIP is active
- Vibrate on Key press (hardware keys)
- Adjustable vibration (duration in ms)
- configuration over command line parameters
- fully event based, so only battery consumption while vibrating
- No runtimes needed (pure C++ application)
- Works with WM 5+ (not 2003)

Command Line Parameters:
-nled: Which nled to use (1 on Diamond)
-len: vibration duration in milliseconds
-ondown: 0 - on mouse up, 1 - on mouse down
-onsip: 0 - handle every touch event, 1 - vibrate only if SIP (or phone) is active
-keyon: 1 - Vibrate on Key press (is not affected by onsip!)

Changes:
Code:
01.10.2008
- Fix for volume buttons (HTC Diamond), the keyboard part of
  the code is completely disabled if onkey 0 is set

10.09.2008
- improved vibration length/strength
- With short values (10-30) is the vibration like in Teeter
- Phone Dialpad support if onsip 1 is set

08.09.2008
- support for HTC Diamond
Known Issues/TODO:
- lags while fast typing (vibration doesn't stop or no input possible while vibrating, seems to be ROM or Phone dependent)
- Volume keys are blocked on HTC Diamond if onkey is set to 1. Don't use key vibration or enable the default windows volume bubble to have workung response and volume keys (Use Diamond Tweak for example).
- vibrates during an active call, if dialpad vibration is enabled

Download:
VOA*.zip contains VOA.EXE and an exaple VOA.LNK file for launching VOA with desired parameters

With volume buttons fix: VOA_01.10.2008_volume_fix.zip
With Dialpad support: VOA_10.09.2008_Dialpad.zip
Without Dialpad support: VOA_10.09.2008.zip

VOAConfig by Kisja

This application makes the configuration of VOA more simple.

Features:
- Choose activity mode (always/SIP only) (-onsip 0/1)
- Enable Vibration on Keys (-onkey 0/1)
- Enable VOA on startup (autostart)
- Choose vibration duration/strength (-len x)
- Start/Stop VOA
- Saves settings in registry
- Source code open (VisualBasic .NET/VS 2008 Solution)
- .NET 2.0/3.5 Runtime needed

Manual:

1) Adjust settings as desired
2) Tap on "Save" to save settings to registry and create new startup link
3) Tap on "Start/Stop" twice to restart VOA or reset device

Known Issues/TODO:
- Restart VOA automatically after saving configuration

Changes:
Code:
16.09.2008 v.1.5
- vibration strength costumization optimized.
  Select between "low", "middle", "high" and adjust more prcise with the slider
- "Advanced Options" in "Options" menu:
       - select NLED Interface (-nled option in VOA)
       - select Event to react on (-ondown option in VOA)
- VOA is started using CreateProcess Call from coredll.dll (see "help needed" please!)

10.09.2008 v.1.4
- Startup folder not hardcoded anymore,
  instead a localized path is used (Environment.GetFolderPath)
Download:
The CAB file includes both applications in a single install file.
The version number reflects the version of VOAConfig and the Date stands for the release Date of VOA.

V 1.5 with current VOA in a cab: Vibration_Feedback_1.5_01.10.2008_volume fix.cab
Source (VS 2008 VB .NET Solution): VOAConfig_1.5_Source.zip

What it does not do
and what will possibly never be implemented:
- hook in other applications. VOA uses a systemwide activity timer to recognize events and does not communicate directly with other applications. This causes sometimes a little lag between the touch event and the vibration. Hooking into other applications would speed it up, but most applications do not have public events to react on.
- reduce touch screen area (for which vibration is activated) to windows borders or something else (think of SIP). VOA reacts on touch events on the whole touch screen.
Attached Files
File Type: cab Vibration_Feedback_1.5_01.10.2008_volume fix.cab (14.7 KB, 4473 views)
File Type: zip VOA_01.10.2008_volume_fix.zip (3.1 KB, 589 views)
File Type: zip VOA_10.09.2008_Dialpad.zip (2.9 KB, 638 views)
File Type: zip VOA_10.09.2008.zip (2.9 KB, 373 views)
File Type: zip VOAConfig_1.5_Source.zip (18.6 KB, 517 views)

Last edited by Kisja; 4th September 2009 at 12:57 AM..
Reply With Quote
Sponsored Links

  #2  
Old 10th September 2008, 01:38 PM
SXT82 SXT82 is offline
Junior Member
 
Join Date: Jan 2006
Posts: 20
Default

thank you very much.. this is a really great application!

is it possible to make a "dailpad vibration only" option?
Reply With Quote

  #3  
Old 10th September 2008, 02:01 PM
jpresencia jpresencia is offline
Junior Member
 
Join Date: May 2006
Posts: 22
Default

thanks for the program!!!! it works great....
unfortunately i found 2 probles that are not important for me but maybe other people finds annoying:
1.- volume up/down key does not work when VOA.exe is active.When you press vol up or vol down the volume level bar appears, but you cant change volume with keys.

2.-voaconfig crashes when i try to "enable startup". i think this is caused because of folder names (i'm using a spanish rom, so my startup folder is "windows/inicio" and not "windows/startup").

thanks again for your work
Reply With Quote

  #4  
Old 10th September 2008, 02:04 PM
cpt.bert cpt.bert is offline
Senior Member
 
Join Date: Sep 2007
Posts: 237
Default

app really slows down sms typing... is this something i can fix?
Reply With Quote

  #5  
Old 10th September 2008, 02:07 PM
nir36's Avatar
nir36 nir36 is offline
Moderator
 
Join Date: Dec 2007
Location: Jerusalem
Posts: 3,667
Default

unfortunatly the vibration feedback is a serious battery eater...
but is also a cool idea.
Reply With Quote

  #6  
Old 10th September 2008, 02:24 PM
Kisja Kisja is offline
Senior Member
 
Join Date: Aug 2005
Posts: 316
Default

Quote:
Originally Posted by jpresencia View Post
[...]
2.-voaconfig crashes when i try to "enable startup". i think this is caused because of folder names (i'm using a spanish rom, so my startup folder is "windows/inicio" and not "windows/startup").
Oh jes, I forgot! Sure its always different. Does anyone know how to detect this automatically? A Reg Value with the path perhaps?
Reply With Quote

  #7  
Old 10th September 2008, 02:32 PM
helpme helpme is offline
Senior Member
 
Join Date: Feb 2006
Posts: 163
Default

Quote:
Originally Posted by jpresencia View Post
thanks for the program!!!! it works great....
unfortunately i found 2 probles that are not important for me but maybe other people finds annoying:
1.- volume up/down key does not work when VOA.exe is active.When you press vol up or vol down the volume level bar appears, but you cant change volume with keys.

2.-voaconfig crashes when i try to "enable startup". i think this is caused because of folder names (i'm using a spanish rom, so my startup folder is "windows/inicio" and not "windows/startup").

thanks again for your work

Got the same problems as you , for number 2, I am using English stock rom which used the path "windows/startup", yet voaconfig crashed when i start it.
__________________
Dopod 818 pro > Kaiser > Diamond > Omnia > Diamond + 1340mAh battery
Reply With Quote

  #8  
Old 10th September 2008, 02:35 PM
mikkelnl's Avatar
mikkelnl mikkelnl is offline
Senior Member
 
Join Date: Dec 2006
Posts: 426
Default

Quote:
Originally Posted by cpt.bert View Post
app really slows down sms typing...
I also noticed this... Hopefully this can be optimized, cause this app would be perfect
Reply With Quote

  #9  
Old 10th September 2008, 02:36 PM
pananza's Avatar
pananza pananza is offline
Senior Member
 
Join Date: Apr 2008
Location: Where ever I lay my phone, that's my home.
Posts: 246
Default

Even if duration is set to 1ms the length of the vibratation is far to long to be useful on my Polaris (HTC Touch Cruise). I've previously tried google Android which has the same functionality built-in. And it gives a small buzz on each key-press which was very good.

This application vibrates too long, and also it does not accept more keypresses when vibrating slowing down the whole input method.
__________________
HTC Hero
HTC Touch Cruise (Polaris)
Dell Axim X5
Palm V
Reply With Quote

  #10  
Old 10th September 2008, 02:47 PM
*const *const is offline
Junior Member
 
Join Date: Sep 2008
Posts: 4
Default

add vibration when PhonePad on foreground and onsip=1
Attached Files
File Type: zip VOA2003.zip (2.9 KB, 150 views)
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 08:15 PM.


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