Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Control volume with headset media button
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Artem Burtsev  
View profile  
 More options Feb 28 2012, 1:42 am
From: Artem Burtsev <vaw...@gmail.com>
Date: Mon, 27 Feb 2012 22:42:59 -0800 (PST)
Local: Tues, Feb 28 2012 1:42 am
Subject: Control volume with headset media button

I'm trying to control volume by Held down Media Button like the same in Headset
Droid<https://market.android.com/details?id=tvk.headvol&feature=search_resu....>(reset and rise volume). I'm doing my best, but can't to realize it
normally. Can you help me?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
V Oz  
View profile   Translate to Translated (View Original)
 More options Feb 28 2012, 4:21 am
From: V Oz <v.ozzzz...@gmail.com>
Date: Tue, 28 Feb 2012 01:21:38 -0800 (PST)
Local: Tues, Feb 28 2012 4:21 am
Subject: Re: Control volume with headset media button

How are You doing (it)? как Вы это делаете? :-D


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Artem Burtsev  
View profile   Translate to Translated (View Original)
 More options Feb 28 2012, 4:38 am
From: Artem Burtsev <vaw...@gmail.com>
Date: Tue, 28 Feb 2012 01:38:40 -0800 (PST)
Local: Tues, Feb 28 2012 4:38 am
Subject: Re: Control volume with headset media button

Можно по русски? =)
Когда зажимается кнопка - громкость сбрасывается до 4 (из 15), кастомная
переменная (например %HDVC) получает значение 1 . Когда отпускаю -
переменная получает значение 0 (в Exit Task)
Пока значение 1 идет рост громкости с проверкой %HDVC=1 на каждом шаге. Как
только %HDVC=0 → Stop
Это завершает рост громкости, но изменения не сохраняются =(


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
V Oz  
View profile  
 More options Feb 28 2012, 4:54 am
From: V Oz <v.ozzzz...@gmail.com>
Date: Tue, 28 Feb 2012 01:54:28 -0800 (PST)
Local: Tues, Feb 28 2012 4:54 am
Subject: Re: Control volume with headset media button

No Russian in group, please. :) That was a joke
<https://www.google.com/search?client=opera&rls=ru&q=How+are+You+doing...>You
can use "answer to author" for direct email me.
paste related profile&task description. what kind of headset do You using?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
V Oz  
View profile  
 More options Feb 28 2012, 6:19 am
From: V Oz <v.ozzzz...@gmail.com>
Date: Tue, 28 Feb 2012 03:19:25 -0800 (PST)
Local: Tues, Feb 28 2012 6:19 am
Subject: Re: Control volume with headset media button

Here is alternative solution. It requires Hold Media button for 1 sec to
start rising Volume over ring 0:1:13 and short click one to stop it. I
think after release of button for giving other apps to play with media
buttons we should Grab it again in some case....

Profile: vol (88)
State: Media Button [ Button:Play Held Down:On Grab:On Stop Event:Off ]
Enter: Anon (114)
A1: Variable Set [ Name:%Hold To:1 Do Maths:Off Append:Off ]
<louder>
A2: Variable Add [ Name:%vol Value:1 Wrap Around:13 ]
A3: Media Volume [ Level:%vol Display:On Sound:Off ]
A4: Wait [ MS:400 Seconds:0 Minutes:0 Hours:0 Days:0 ]
A5: Goto [ Type:Action Label Number:1 Label:louder ] If [ %Hold Is Set ]

Exit: Anon (122)
A1: Variable Clear [ Name:%Hold Pattern Matching:Off ]
A2: Media Button Events [ Action:Release ]


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
V Oz  
View profile  
 More options Feb 29 2012, 1:50 am
From: V Oz <v.ozzzz...@gmail.com>
Date: Tue, 28 Feb 2012 22:50:05 -0800 (PST)
Local: Wed, Feb 29 2012 1:50 am
Subject: Re: Control volume with headset media button

A bit tuned version. There is no need to Grab keys with native HTC player
and BeyondPod. They shares Hold event as well. Plus my favorite method to
stop task - Abort Existing Task in collision setup with Stop-If action at
the beginning. So, now it rises volume while button held and stops when
released.

Two strange things (for Pent's attantion):
1. These profile and it's tasks are not catched in Run Log at all! Not
appears it %PACTIVE and %TRUN as well
2. Variable Add starts from non-zero and doesn't wrap, so VOLM rises to
maximum and stops.

Any suggestions?

Profile: vol (88)
State: Media Button [ Button:Play Held Down:On Grab:Off Stop Event:Off ]
State: Headset Plugged [ Type:Mic ]
Enter: s vol up (114)
Abort Existing Task
A1: Stop [ With Error:Off ] If [ %par1 ~ stop ]
<louder>
A2: Variable Add [ Name:%vol Value:1 Wrap Around:10 ]
A3: Media Volume [ Level:%vol Display:On Sound:Off ]
A4: Wait [ MS:300 Seconds:0 Minutes:0 Hours:0 Days:0 ]
A5: Goto [ Type:Action Label Number:1 Label:louder ]

Exit: Anon (122)
  A1: Perform Task [ Name:s vol up Stop:Off Priority:6 Parameter 1
(%par1):stop Parameter 2 (%par2): Return Value Variable: ]


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »