Using volume slider for other apps - MDA II, XDA II, 2060 ROM Development

Hello:
I use my XDAII for reading ebooks with, do we know of any way to be able to use the volume up/down slider on the side for turning pages with??
thanks

You do know that you can use the navigaion pad and press down and/or right to go to the next page and the up and/or left to go to the previous page, right?

Yep I know you can use the nav pad, but having to hold the right thumb over the nav pad makes grip a little uncomfortable.
If the volume slider could be used it makes for a more comfortable and natural grip on the unit whilst reading as your finger is already on top on the volume slider (if you hold it in your right hand)

I would like to be able to use this too. Also for web pages etc. I am used to it after using my P800. I found Settings->Buttons->Up/Down Control where you can set the repeat rate.
It's interesting it's called an "Up/Down Control" and not a volume button, this suggests you should be able to reassign it.

Up / Down Control
Ok I've done a little bit of investigation and found that pressing the control up generates a 0x76 (VK_F7) and down generates a 0x77 (VK_F8).
Doesn't seem to be any documentation on this in eMvc 4.
Haven't really got time to write the hook stuff for this now. But might get round to it sometime if no one else does!
Jamie

I have to agree with icarusbop. I also read a lot of eBooks and would love to have the ability to use the slider to navigate between pages.

I don't know how to do it but it certain is possible to get the volume control slider to do thing other than control the volume.
Why - if I have an appointment reminder flash up I can use the slider to change the 'snooze' time. I don't know if this is standard within pocket outlook as I use Pocket Informant 5 it could be restricted to this only.
I would guess that someone with a bit of programming knowhow could write a program to enable the slider to change pages, but all I know is that I couldn't easily.

Very interesting observation, mate. Did you contact Alex Kac (CEO of WebIS) about it? He may be ab le to provide a clue how to programmatically access the sliders then...

use this hack to remove default mapping (changing sound volume) of side slider. And then try to map it in desired application (it must be able to handle hardware buttons with 0x75 and 0x76 vkey codes. Shurely works with Haali Reader on F6 & F7 buttons).
Support of mapping in probably any application as well as a mapping slider to launching applications, using default "buttons" control panel applet is in development and will be introduced in next version.

Related

shortening the default time for the hold-button buttons

Pocket plus give all the button the push/hold feature, doubling the things you can asign to them. But the hold is a bit longer than needed, so at times you end up opening up what ever is set for the push, rather than the push/hold. Is there a way to edit a registry setting that determines the length of time required to act as a hold?
Try Hbutton
Hi,
I use Hbutton and love it. I works like this: after you install the .cab, you assign a button or buttons to hbutton1, hbutton2, etc.. Then open the Hbutton program to configure each hbutton. Muliple programs can be assigned to each hbutton. When you press an hold a button, you will cycle through the programs in order. You can configure it to beep or vibrate as the programs switch so you know when to let go. You configure the switching delay. Once you get some practice you can set the delay as low as 100ms (1/10th of a second). As far as I can tell, there is no performance hit after installing this program. You should be able to try it without uninstalling anything. I found it here (on xda-developers) so you should be able to find it too with a search.
Interesting
That sounds good, I'll have to look into it...
reply
No, I didn't care for Hbutton, is there just a tweak to shorten the default time for the push/to/hold time?

[APP][01.10.2008] Vibration Feedback

[SIZE=+1][highlight]Vibration Feedback for Windows Mobile 5+ (DISCONTINUED)[/highlight][/SIZE]
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.
[SIZE="+1"][highlight]Help needed![/highlight][/SIZE]
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
[SIZE=+1][highlight]VOA by Const[/highlight][/SIZE]
It's a little application which runs in background and reacts on user activities with vibration.
[highlight]Features:[/highlight]
- 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)
[highlight]Command Line Parameters:[/highlight]
-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!)
[highlight]Changes:[/highlight]
Code:
[URL="http://forum.xda-developers.com/attachment.php?attachmentid=117756"]01.10.2008[/URL]
- Fix for volume buttons (HTC Diamond), the keyboard part of
the code is completely disabled if onkey 0 is set
[URL="http://forum.xda-developers.com/attachment.php?attachmentid=117757"]10.09.2008[/URL]
- improved vibration length/strength
- With short values (10-30) is the vibration like in Teeter
- Phone Dialpad support if onsip 1 is set
[URL="http://forum.xda-developers.com/attachment.php?attachmentid=117758"]08.09.2008[/URL]
- support for HTC Diamond
[highlight]Known Issues/TODO:[/highlight]
- 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
[highlight]Download:[/highlight]
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
[SIZE=+1][highlight]VOAConfig by Kisja[/highlight][/SIZE]
This application makes the configuration of VOA more simple.
[highlight]Features:[/highlight]
- 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
[highlight]Manual:[/highlight]
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
[highlight]Known Issues/TODO:[/highlight]
- Restart VOA automatically after saving configuration
[highlight]Changes:[/highlight]
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)
[highlight]Download:[/highlight]
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
[SIZE=+1][highlight]What it does not do[/highlight][/SIZE]
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.
thank you very much.. this is a really great application!
is it possible to make a "dailpad vibration only" option?
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
app really slows down sms typing... is this something i can fix?
unfortunatly the vibration feedback is a serious battery eater...
but is also a cool idea.
jpresencia said:
[...]
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").
Click to expand...
Click to collapse
Oh jes, I forgot! Sure its always different. Does anyone know how to detect this automatically? A Reg Value with the path perhaps?
jpresencia said:
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
Click to expand...
Click to collapse
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.
cpt.bert said:
app really slows down sms typing...
Click to expand...
Click to collapse
I also noticed this... Hopefully this can be optimized, cause this app would be perfect
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.
add vibration when PhonePad on foreground and onsip=1
cool concept, I actually like it on my friend's Instinct.....but the battery thing and the accelerated wear on the vibration motor deters me (my titan battery is bad enough as it is already).
yesterday i just thought that something like this would be great
->someoneĀ“s up there
schnappus boesus said:
yesterday i just thought that something like this would be great
->someoneĀ“s up there
Click to expand...
Click to collapse
oh no, its a cool feature/app (especially on phones without a hard keyboard)
if I had something like a Diamond, I would defintely use this app.
Im using a german samsung i900 omnia, but your app doesnt work here. No vibration whatever setting i use.
Good Work, but seems that doesn't recognize diamond keyboard installed on my wm 6.1 artemis. If i set to vibrate only on SIP it never do, otherwise works great (at any click).
thank You
Bye
The main difference with the samsung version is that on the I900 the phone vibrates only when you press a button on your screen (or at least it is supposed to act like this), which really makes a difference between pressing "nothing" and pressing a button.
I would I love to see this feature, even on my I900, because samsung forgot many things (like the opera browser, in which the phone vibrates whatever the part of the application you're touching, or their SIP, where it does not vibrate even though it is THE software where it should).
*const said:
add vibration when PhonePad on foreground and onsip=1
Click to expand...
Click to collapse
thank you very much ... now it is nearly perfect
How about the slow sms typing and the error while trying to save settings?
cpt.bert said:
How about the slow sms typing and the error while trying to save settings?
Click to expand...
Click to collapse
what do you mean by "slow sms typing"? be more specific please
_4saken_ said:
what do you mean by "slow sms typing"? be more specific please
Click to expand...
Click to collapse
For every key I press on the keyboard the vibrator starts for a short period. During this period I cannot enter another key. Or atleast the key is not displayed until the vibration has stopped. So where I could write very fluid and quick before, I now feel it's going much slower and more like a stutter, if you know what I mean.

Can the responsiveness of the Trackball be adjusted.. and be context sensitive?

I have found the trackball so hard to maneuver to the most simple locations in any kind of compose window -- to go from beginning of a line to end of line, top of composed text to end of text block... I would really like for it to move much faster in those situations.
Also in scrolling up/down a web-page for simply reading.
At the same time. I find it way too hair-trigger and uncontrollable when trying to locate the link you want to click, or the field you want to edit on a form or any page.
Is this all Android-controlled, or does HTC hardware and its Sense UI add controllable refinement and adjustments?
Thank you.
(Bonus question which I will search for by myself: Are the hard buttons remappable to other functions. If so, is it possible to multi-function a hard-key by having it do one thing with a very light touch, and another with a press & hold ? )
These issues, as well as my Q re capacitive vs resistive screen are all about discomfort from Repetitive Stress having to place fingers and finger tips is positions completely different from using Windows Mobile devices. I am sure there much be advantages I am missing. I really look forward to those.

Gestures and Input - sound settings?

Hey guys,
My problem: I have an S7 edge, and the case that I got for it makes it a pain to use the volume buttons.
My solution: Use nova launcher prime to set a gesture to open volume settings.
I cannot find any way to get to the volume settings using the nova launcher. There are A TON activities you can go to, but I can only find "sound and notifications", which is ok for now, but still have to click "volume" afterwards. With so many options, I am sure there is a way to pull this off, curious if any of you lads have had any luck with this sort of thing.
Cheers,
- Patrick
patomack said:
Hey guys,
My problem: I have an S7 edge, and the case that I got for it makes it a pain to use the volume buttons.
My solution: Use nova launcher prime to set a gesture to open volume settings.
I cannot find any way to get to the volume settings using the nova launcher. There are A TON activities you can go to, but I can only find "sound and notifications", which is ok for now, but still have to click "volume" afterwards. With so many options, I am sure there is a way to pull this off, curious if any of you lads have had any luck with this sort of thing.
Cheers,
- Patrick
Click to expand...
Click to collapse
I have a set up where I use this app >> https://play.google.com/store/apps/details?id=com.phoenixstudios.aiogestures << and I point it towards a Tasker profile I made.
So basically with one swipe even on lock screen I can change the volume to any predefined level that I have made in Tasker.The beauty of this is I can use it with any launcher even stock and also change volume levels from the lock screen without opening my phone.
More information please
You'r solution sounds great. I have downloaded tasker and the gesture app, but it is definitely not a strait forward system.
Hate to be a bother, but if you could give a bit more detail on how to set up your system I would appreciate it!
patomack said:
You'r solution sounds great. I have downloaded tasker and the gesture app, but it is definitely not a strait forward system.
Hate to be a bother, but if you could give a bit more detail on how to set up your system I would appreciate it!
Click to expand...
Click to collapse
Tasker as a bit of a learning curve basically you need to create a task under the Task settings press + sign at bottom of screen and name your task (Example loud or silent) Then press the + sign at the bottom of the screen and select Audio from there you can select many different options ie Ringer volume Notification volume System volume etc.
Once you have created you task save it then use the "All gesture" app to select the Tasker task you made under shortcuts and then assign it to a gesture ie corner of screen etc.You can then set up multiple tasks to different corners of your screen.
Sorry this is only a basic guide Tasker as many more features you can use but as I said its a bit of a learning curve (But worth it)
Thank you
Tasker as a bit of a learning curve basically you need to create a task under the Task settings press + sign at bottom of screen and name your task (Example loud or silent) Then press the + sign at the bottom of the screen and select Audio from there you can select many different options ie Ringer volume Notification volume System volume etc.
Once you have created you task save it then use the "All gesture" app to select the Tasker task you made under shortcuts and then assign it to a gesture ie corner of screen etc.You can then set up multiple tasks to different corners of your screen.
Sorry this is only a basic guide Tasker as many more features you can use but as I said its a bit of a learning curve (But worth it)
Click to expand...
Click to collapse
Thank you,
This worked quite nicely.
I set my bottom left and right corners to high volume and mute.
This does the trick for now, would love to figure out a way to have a gesture open the quick volume menu which hovers over the screen, and shows the 4 volumes to adjust.
Thank you again!
Try Swiftly switch
Too much feature compare to your need but you may like it

BlackBerry Launcher allows short and long-press keyboard shortcuts for homescreen

I was thinking, if BlackBerry Launcher allows you to customize keyboard short-cuts to any key on the Priv/KeyOne, maybe it'll do the same for the Gemini.
Yes, it does! The launcher isn't as flexible as Nova, but it allows you to set up keyboard shortcuts while on the homescreen. So, for example, I can quickly go home with Fn+D and then long-press M to launch Google Maps. You could toggle Tasker shortcuts or anything else as well, possibilities are pretty endless.
dimex said:
I was thinking, if BlackBerry Launcher allows you to customize keyboard short-cuts to any key on the Priv/KeyOne, maybe it'll do the same for the Gemini.
Yes, it does! The launcher isn't as flexible as Nova, but it allows you to set up keyboard shortcuts while on the homescreen. So, for example, I can quickly go home with Fn+D and then long-press M to launch Google Maps. You could toggle Tasker shortcuts or anything else as well, possibilities are pretty endless.
Click to expand...
Click to collapse
Great thinking. It does work! I created Ctrl+ type short cuts.
jah said:
Great thinking. It does work! I created Ctrl+ type short cuts.
Click to expand...
Click to collapse
You created shortcuts that require you to hold down Ctrl first? How? The only options I see are long and short press.
I mount the Gemini in my truck as the head-unit when I get in (I'll share the solution in another post). Just created a Tasker profile that when I long-press Q it turns the display brightness all the way up, sets display timeout to never, connects to my Echo Dot via bluetooth, then reads back "Car Mode On."
When I hit Q again it reverses everything and says "Car Mode Off." I'm having fun hacking this little device.
dimex said:
You created shortcuts that require you to hold down Ctrl first? How? The only options I see are long and short press.
I mount the Gemini in my truck as the head-unit when I get in (I'll share the solution in another post). Just created a Tasker profile that when I long-press Q it turns the display brightness all the way up, sets display timeout to never, connects to my Echo Dot via bluetooth, then reads back "Car Mode On."
When I hit Q again it reverses everything and says "Car Mode Off." I'm having fun hacking this little device.
Click to expand...
Click to collapse
I installed the BB launcher then just pressed the Ctrl key with a letter key (e.g. "e") and the launcher offered me some options to link to this combination.
jah said:
I installed the BB launcher then just pressed the Ctrl key with a letter key (e.g. "e") and the launcher offered me some options to link to this combination.
Click to expand...
Click to collapse
No, it's either a long or short press of a single letter. You are unnecessarily holding Ctrl, it's not needed.
I tried Blackberry launcher but couldn't get it work in landscape, anybody been successful for this?
mmarks said:
I tried Blackberry launcher but couldn't get it work in landscape, anybody been successful for this?
Click to expand...
Click to collapse
Make sure your Planet App Bar is set to Force Landscape and Display Settings are set to Stay in Landscape when Rotated, or get an app like Ultimate Rotation Control which allows you to fine tune rotation, which is what I did. Set it to Force Auto, which will allow apps to rotate that don't normally allow that.

Categories

Resources