Headset Button Controller - HTC Desire X

I just wanted to share info about this app It's very useful for me!
Headset Button Controller is very configurable, allowing you to play music, change tracks, adjust volume, answer phone calls, start Voice Command and many other things, just by clicking the button on your headset.
Once you have configured Headset Button Controller with your preferences, it runs in the background using almost no CPU. It is shipped with a default configuration profile, but you can change almost every action performed. It has been tested with a wide variety of different Android devices and music apps and works with both single-button headsets, and Android-specific 3-button headsets.
Default configuration for single-button headsets (center button for 3-button headsets):
Single press: play / pause (+ answer call / end call)
Double press: next track (+ decline call / mute microphone)
Triple press: previous track
Quadruple press: previous track (2x)
Long press: Volume control
Press and hold: Fast forward [3]
Double press and hold: Rewind [3]
Triple press and hold: disabled
All of the above options are configurable to any of the following:
Stop
Play / pause
Next track
Previous track
Previous track (twice)
Mute / unmute
Voice command
Voice search
Redial last number
Say current time (Text-To-Speech required)
Launch app
Tasker task [1]
Additionally the long press options are configurable to any of the following:
Volume control [2]
Rewind [3]
Fast forward [3]
With a 3-button headset, volume control is also configurable with the left and right headset buttons.
If you have the Tasker app installed, you can specify any task - search for 'Tasker' in the Android Market
While the button is held down, the volume is initially reset to the minimum limit (see below) and then raised until the button is released
Not every music player app supports rewind / fast forward
Music app selection
You are able to choose which installed music app you want to control with Headset Button Controller.
Volume control features:
Headset Button Controller remembers the music volume when the headphone is unplugged and can restore it when the headphone is plugged in again.
Min volume limit: Start volume level of the 'volume control' command
Max volume limit: Ensures that the headset music volume never exceeds this limit
olume control speed: Specify how fast you want the volume to be increased when using the long press option
Call features :
You are also able to control calls with the headset button:
answer call / end call on single press (configurable)
decline call / mute microphone on double press (configurable)
adjust volume during a call (see volume control)
announce caller name (Text-To-Speech required)
You can also configure Headset Button Controller to automatically answer an incoming call after a configurable delay.
Headset plug in / out
You can configure an action to be performed when the headset is plugged in / out. By default the music will get stopped if you unplug your headset.
Profiles
You can create different 'configuration profiles' which you can switch between. Add a widget (1x1) to your home screen to easily change your profile. It is also possible to switch profile from the 'Tasker' or 'Locale' app. All settings can be backed up on SD card.
Notes
Headset Button Controller cannot support the separate volume control buttons on the iPhone headset - this is a limitation of the Android framework.
Make sure that this app does not get stopped by a task killer (the background process consumes almost no CPU).
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I share this with you cuz my button was working only with TTPod and then I found this!
This app is avaible in android market

When I installed Apollo without any app, I played music and when I clicked the button to pause,.it played a different song with the default music player...in the same time...
Sent from my HTC Desire X using xda app-developers app

Related

How are your buttons set up?

Hey guys,
I'm just looking to see if anyone has any cool changes to your button associations... ya know, always looking for shortcuts...
Mine are all stock, except that I bound Internet sharing to the push and hold feature for voice dialing.
Anyone else got anything cool?
I've made the following changes to the default layout: Comm Manager button changed to flashlight on/off and the voice dial/record to rotate screen on hold, and task manager on tap. This has worked out pretty well for me ever since I started using the 6800 last July. It also helps having the flash mapped to the button if you're using the Vogue's camera like I am (since it has no flash).
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Pictures say a thousand words...
Man, that flashlight idea is GENIUS... I always fumble to turn on the flash with my camera.
Do you use VJcandela or something else? I was under the impression that VJCandela doesn't work for the 6800...
also, any idea if it's possible to create a press and hold option for the comm manager button?
i use SPB pocket plus which adds "press and hold" to all buttons, heres my setup:
Messeging press: Messeging (stock)
Messeging press and hold: IM+
Internet press: Opera Mobile
Internet press and hold: Internet Sharing
Voice command press: Oxios CloseApps
Voice command press and hold: Task Manager
Comm manager press: rotate screen
Comm manager press and hold: Comm Manager
Camera press: none (id like to make this flashlight though, anyone know how to add a normal press function to this button?)
Camera press and hold: Camera (stock)
If you want more button control, check out AE Button Plus. I've been using it for over a year now and it works really well. You can assign up to 4 actions to a single button (single click, double click, triple click, long press).
http://ae.inc.ru/aebplus.php
or
http://classic.pocketgear.com/software_detail.asp?id=21070
99% of its funtionality works indefinitely with the shareware version. Its $8 to buy, so I paid and its been a good investment.
defaultdotxbe said:
i use SPB pocket plus which adds "press and hold" to all buttons, heres my setup:
Messeging press: Messeging (stock)
Messeging press and hold: IM+
Internet press: Opera Mobile
Internet press and hold: Internet Sharing
Voice command press: Oxios CloseApps
Voice command press and hold: Task Manager
Comm manager press: rotate screen
Comm manager press and hold: Comm Manager
Camera press: none (id like to make this flashlight though, anyone know how to add a normal press function to this button?)
Camera press and hold: Camera (stock)
Click to expand...
Click to collapse
That is EXACTLY the same way I have it setup! Kudos!
i have one of my side buttons set to <Today> screen so that I can quickly get out of what im doing and dial someone with Spb phone suite, or for whatever other purpose
stroths said:
If you want more button control, check out AE Button Plus. I've been using it for over a year now and it works really well. You can assign up to 4 actions to a single button (single click, double click, triple click, long press).
http://ae.inc.ru/aebplus.php
or
http://classic.pocketgear.com/software_detail.asp?id=21070
99% of its funtionality works indefinitely with the shareware version. Its $8 to buy, so I paid and its been a good investment.
Click to expand...
Click to collapse
Good ole stroths and his AE button plus.
gabestover said:
I've made the following changes to the default layout: Comm Manager button changed to flashlight on/off and the voice dial/record to rotate screen on hold, and task manager on tap. This has worked out pretty well for me ever since I started using the 6800 last July. It also helps having the flash mapped to the button if you're using the Vogue's camera like I am (since it has no flash).
Click to expand...
Click to collapse
I'm hoping desperately that you are able to actually take pictures with the flash on! A bunch of us have been failing miserably to get this to work using a Vogue camera cab and Nilisco flashlight. We can turn on the camera, then turn on the flash. But when the shutter takes a picture, the flash turns off just before the picture is captured.
If anyone can get this to work, please share how and with which applicationd/cabs.
morganlowe said:
Pictures say a thousand words...
Click to expand...
Click to collapse
mine is the same except my button5press&hold = <rotate screen>
Can't you change the button functions in the registry. I tried to add an extra button function to the camera button to go straight to my pictures but failed.
Has anybody tried this?
delete post. Reason: trying to think too late at night.
I have Spb for that same reason (along with the 1 pixel tall hash battery bar at the top which is pimp). Here's mine:
Softkeys: Left= Total Commander , Right=Contacts
Messaging press: MortPlayer
Messaging press and hold: Nilisco flashlight
Internet press: Opera Mobile
Internet press and hold: Spb close all
Voice command press: Volume balloon
Voice command press and hold: S2U2
Comm manager press: New Text Message
Comm manager press and hold: New Voice note
Camera press: none (id like to make this flashlight though, anyone know how to add a normal press function to this button?) This would be so useful
Camera press and hold: Camera (stock)

Radio: Activating Semi-automatic station search up/down (Seek) w/ SWC

Is there a way to assign "Semi-automatic station search up/down" (from pg. 18/29 of Joying "User’s Manual for Android 4.4.4 Head Unit GPS navigation system.pdf") to a steering wheel button instead of having to touch the screen button while driving? The only Steering Wheel Control button options are prev/next station preset or prev/next tuning frequency.
Edit: Or obtain what code can be sent to the radio via keyboard, SWC, etc. to activate the Seek+ / Seek- functions.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Use mtc-keys
event codes posted here
http://forum.xda-developers.com/android-auto/mtcb-software-development/xposed-modules-units-t3263966
carter.w.jason said:
Use mtc-keys
event codes posted here
http://forum.xda-developers.com/android-auto/mtcb-software-development/xposed-modules-units-t3263966
Click to expand...
Click to collapse
Ideally I want to map it to a steering wheel control button not "by pressing the buttons on the front panel of the radio".
I want to activate the radio's SEEK+/SEEK- from my steering wheel button. Presently I have to reach over to the radio to do it (and the radio app may not be up) and ideally I do not want to have to take my eyes off the road to activate my most commonly used head unit functions.
Alternatively, I may have to look into mtc-keys and see if I can map the two radio panel buttons to activate the radio SEEK+/SEEK-.
Thanks.
mtc-keys can remap SWC
carter.w.jason said:
mtc-keys can remap SWC
Click to expand...
Click to collapse
How do I get the actual event code (touching the Radio App's on-screen button) that activates the SEEK+/SEEK- so I can map that event to a hardware button?
Presently no hardware button activates the Radio App's Semi-automatic station search up/down (Seek).
Explore the link I have posted above. Look under Radio section under the mtc-keys section
Sorry, finally had some free time today. Tested the codes(and variants) on my unit, could not get them to work. Everything else with mtc-keys has been great.
Maybe Tasker could be a solution? Have a task "Run Shell" with "input tap xx yy" Export as an App, then have mtc-keys launch it
carter.w.jason said:
Explore the link I have posted above. Look under Radio section under the mtc-keys section
Sorry, finally had some free time today. Tested the codes(and variants) on my unit, could not get them to work. Everything else with mtc-keys has been great.
Maybe Tasker could be a solution? Have a task "Run Shell" with "input tap xx yy" Export as an App, then have mtc-keys launch it
Click to expand...
Click to collapse
Exactly. I did some XY development this way on my Nexus 7. Problem with the JYHU is that their Settings app does not have SERVICES under Settings->Accessibility (see my threads on this here ) which prevents, among other apps, Tasker from running some profiles. But Input XY will probably be OK.
The MTCRadio app is worst than I thought. Tasker input tap xy will click the radio buttons, the on-screen button will change color to indicate it is pressed, but they will not respond. The MTCRadio seems to be run from ONLY the MCU HW and will only respond to physically touching the LCD screen, a hardware button or a mouse cursor/button. If you plug in a physical keyboard, the only keys the MTCRadio itself will respond to are the left and right arrow which interestingly scrolls the entire presets block left or right. That's it. Even a keyboard's volume keys do not actually make the radio volume change. Tab keys don't work. Only keys that are mapped to the MTC steering wheel learning functions will work.
This app is hardcoded with no hooks outside of the MCU side of the headunit.
On the MTCRadio app:
I am able to use Tasker (using input tap or swipe x y execute root command) to click any of the 6 shown (per screen) radio presets buttons and it works.
I am able to use Tasker (using input tap or swipe x y execute root command) to click the stereo (ST) button and it works.
But it will not work on the SEEK+ or SEEK- buttons even though I can see the element is activated. Why are these two buttons so different than any other???
Anyone wanna give it a try (holds down for 800mS):
Launch App: Radio
Wait: 2 second
Run Shell: input swipe 910 270 910 270 800
Finally got something that works. Now I just have to configure mtc-keys to call my two standalone apps (SeekMinus and SeekPlus) when I press the prev/next keys on my steering wheel.
What I'll try in morning:
-Install folder/file mtc-keys/mtc-keys.ini
app_59=com.xxxxx.xxxxx.seekplus
app_58=com.xxxxx.xxxxx.seekminus
I got it all working. I had to install mtc-keys/mtc-keys.ini on the external SD card.
I made four apps: two that launch the radio first, small delay then SEEK+ or SEEK-; two that just click at the screen coordinates of the SEEK+ / SEEK- button locations.
I just have to decide whether I should launch the radio first or not. If I were to activate the SEEK+ on my homescreen it would launch one of my widgets. But it is pretty difficult to accidentally activate SEEK+ the way I have it (requires long press...something not likely to happen).
This would be so much easier if they would just add the radio's SEEK+ and SEEK- to the steering wheel control.
Hey JEMshoe, what was the trick to get 'input tap' to work on seek buttons?
It (input tap or swipe) won't work on the kind of SEEK+/- button elements used in the MTCRadio app. What I came up with is a kludge:
-I bought an app called RepetiTouch (kinda expensive at 12USD) and recorded the button press--save as RepetiTouch file;
-I used RepetiTouch as a plugin to Tasker and called the button press file from within Tasker; saved that as a standalone app;
-I remapped my steering wheel buttons to two functions in the mapping app that will not likely use (answer and hangup);
-I used mtc-keys to call the tasker standalone apps when it received the keycodes (69 and 70).
So now I have the ability to cycle through presets and do SEEK+/- from steering wheel buttons and tune up/down still from the right knob (which I will probably never use). This will be very nice for me during long travel so I don't have to mess up my saved stations--just go to the next/prev strong station, nor reach way over to touch a tiny on-screen button. It's been a long quest for this functionality. No help from Joying. Good leads from XDA!
Edit: Which reminds me...I need to thank the creator of mtc-keys. It worked well once I figured out that on my system it only works if I load the file on the external SD card.
Have you tried something like:
mtc-keys.ini
Code:
event_59=22
event_58=24
That worked for me.
jakejm79 said:
Have you tried something like:
mtc-keys.ini
Code:
event_59=22
event_58=24
That worked for me.
Click to expand...
Click to collapse
I have a stock HU (Hotaudio Model HA2100) and I have the same problem of you.
SWC: It seems that if I configure "<<" or ">>" as buttons, pressing it on the steering wheel the Radio the frequency is changed by few KHz... (No search is started). if I configure "<I" or "I>" as buttons, pressing it on the steering wheel the Radio move to the next stored station. (No search is started).
For what I understand installing mtc-keys and configuring the mtc-keys.ini as before, I should solve the issue, isn't it ?
royalhawk2002 said:
I have a stock HU (Hotaudio Model HA2100) and I have the same problem of you.
SWC: It seems that if I configure "<<" or ">>" as buttons, pressing it on the steering wheel the Radio the frequency is changed by few KHz... (No search is started). if I configure "<I" or "I>" as buttons, pressing it on the steering wheel the Radio move to the next stored station. (No search is started).
For what I understand installing mtc-keys and configuring the mtc-keys.ini as before, I should solve the issue, isn't it ?
Click to expand...
Click to collapse
royalhawk, give it a try and report your results. I don't recall everything that I tried but unfortunately I now have a *couple of layers* between my controls and the headunit that would make evaluating this difficult.
*couple of layers*: I have mtc-keys.ini used for some functions, I also have a custom app that gets called to simulate pushing the seek+/- button and finally I also have a piece of custom hardware that extends the functions of some of the existing steering wheel buttons. I would have to undo these (at least temporarily) to evaluate the suggestion from jakejm79--which would be great! if it works for me/my setup.
Hello,
I don't know if I'm in the right section.
It's possible to teach the radio long press actions on SWC?
My old AN-21 could do this but my Pumpkin Unit don't or I'm wrong?
Best regards
Feepro

Need beta testers for Plasmalite (a different way to use your navbar)

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
What is it?
Plasmalite gives you the ability to swipe up on any navigation bar button and have it be pressed, even if the navbar is hidden (by default this means autohide, however with a setting change it can also handle a 0px navbar - Note8 users have this enabled by default). This gives you the added screen real-estate of a hidden navbar, but without the nuisance of having to expand it all the time to actually use it. Or in the case of a 0px navbar, you never have to see the navbar again. While there are other methods of inputting back/home/recents, for most people the intuitive thing would be to simply swipe up, which is exactly what Plasmalite does. Also, a key benefit of Plasmalite is that it does not require accessibility services to be enabled, which means you get flexibility without the detriment to performance incurred by enabling an accessibility service.​
What can it do?
Doesn't need accessibility services, so absolutely no performance loss
Gives you added screen real-estate
Prevents AMOLED burn-in since the navbar can be hidden or removed (0px)
Swipe up for recents/home/back
Swipe up on left/right corner for a different action (default: toggle immersive mode / app switch)
Swipe up on both corners for another action (default: camera)
Long press power while screen off to start camera
Long press home "button" while screen off to start camera
Long press power while screen on to start camera (press it for .5s longer after the blurred screen comes up)
Swipe up on fingerprint scanner for an action (default: camera) (requires Samsung's fingerprint gestures to be enabled)
Press power and volume up to toggle play/pause. If the screen is on, press power a fraction of a second earlier so Android won't register an errant button press - if the screen is off, the reverse is true.
Swipe down or tap with four fingers on any app to perform an action, notably the ability to press the home button
Swipe down or tap with four fingers on your home screen to perform an action, notably the ability to immediately press the real power button
Roll the volume keys (up/down, or down/up) to control the track
Press power and volume down to perform an action (default: toggle play/pause)
Automatic immersive mode timeout - after a certain number of minutes immersive mode will turn itself off
For those of you with Bixby disabled:
Autodetection of Bixby and automatic disabling of any conflicting Plasmalite features
Perform an action on bixby-press (default: recents)
Perform an action on bixby-longpress (<800ms) (default: back)
Perform an action on bixby-longerpress (<1600ms) (default: home)
Perform an action on bixby-longestpress (>1600ms) (default: camera)
Dynamic remap when in-call to be unchanged on press, and hangup on longer/longest press (but not regular press or longpress to reduce the chance you accidentally press it and hangup your call)
Dynamic remap when camera app is open to trigger shutter on press, close camera on long press
Dynamic remap on lock screen to trigger power off on press, camera on long/longer/longest press
HoldOn: Press and hold the Bixby button while the screen is off to turn the screen on for as long as you hold the button down. When you let go (even after touching the screen), the screen will be turned off
What does the name mean?
A few people reading this might recognize my name from the line of Note2/Note4 kernels I maintained while I had those devices. Those kernels held the moniker "Plasma". Unfortunately few people are willing to root these days given the needed sacrifices of Knox, Samsung Pay, etc, so this is "Plasma Lite". I thought Plasmalite sounded cooler though. It is the manifestation of as many features as I can pack into something that doesn't require root. There currently is no Plasma kernel for modern Samsung devices.​
How can I get it?
Unfortunately you must have the ability to run a command via 'adb shell'. For the first time after a reboot, Plasmalite cannot start itself alone, and therefore requires you to start it once. There is no way around this without root. However, starting it is painless and easy - just one line, and that's it until the next time you have to reboot your device. Plasmalite can even update itself on-the-go, without the need for you to run another adb command via the app.​
Who can get it?
Plasmalite has been tested on the Snapdragon S8+ and Note8, but should work on any S8, S8+, or Note8 device. Right now I am looking for a few beta testers. Please keep in mind that you must be able to run a command via adb. There are many, many guides and youtube videos explaining how to do this, and it's super easy to do via PC or Mac. If you are interested in testing, please reply here or message me.​
Hello, the app seems interesting, I'd like to be a beta tester if possible.
I have an s8+ running batstock rom.
Are you able to change recents home back to back home recents
I'd love to test.
Rocking S8+ stock if that's what your looking for
I'll be more then happy to be a beta tester. App seems very interesting. I'm on a rooted s8+
I would like to beta test
I would like to beta test as well this is a very interesting and amazing feature! This is awesome!
I want to be a tester
I'm using S8+ batman rom
Hey I'm down for test
Sent from my SM-G955U using Tapatalk
I am down to test.
Oh my god awesome
Would like to test
I just saw the video
It seems really cool and definately worth to try it
Count me in too
Sounds really usefull your app. I'd like to beta test wtih my Galaxy S8 Exynos. Is this possibe?
Is there a non lite version? I'm rooted and would love to test a non lite version
I've been looking for something like this and would love to test. I'm on the s8 plus g955u1 using sampwn root
Hi, interesting application, count me in for beta testing..
I want to test it
Running, the last Renovate iCE Nightly Build. In my S8 Plus in Germany.
I'll test for you. Running stock rom

[APP] Button Launcher (button shortcuts/combinations) for Android Wear

Button Launcher is a completely free software for Android Wear 2.0 that allows you to define what apps will be launched based on up to two button press combination.
There is currently no other software for something like that. The "Wear Button Remapper" is paid app that allows remapping of long press primary button ("home"). "Bubble Cloud Wear Launcher" can do the same for free and it also add's detection for second longpress but the later is a paid feature.
For watches with only single (primary/home) button, there are only two shortcuts to set. The first is just long press that primary button followed with no other button press (within a configured timeout), the second are two long presses of primary button in a row.
Watches like Huawei Watch 2 with 2 hardware buttons allow for 4 different shortcuts:
Long press home button + no other action
Long press home button + long press home button
Long press home button + short press secondary button
Long press home button + long press secondary button
And additional 4 shortcuts if you map secondary button to start Button Launcher (in System Settings -> Personalisation -> Customise hardware buttons)
Secondary button press + no other action
Secondary button press + long press home button
Secondary button press + short press secondary button (A)
Secondary button press + short press secondary button (A)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
TODOs/Limitations
On watches with more than 2 buttons it's currently not possible (? looking for help) to create shortcut combinations starting with specific secondary button (what short press button was used to start Button Launcher). Making that work would probably require creating additional app shortcuts listed in the stock drawer/launcher.
The launch screen displays icon of an app that will be launched when time runs out. My final vision is to also show smaller icons of apps launched by button presses, closed to positions of real hardware buttons. Done
Download
Get it on Google Play: https://play.google.com/store/apps/details?id=com.brouken.wear.butcher
Source: https://github.com/moneytoo/ButtonLauncher
Please leave your feedback and requests. It will help prioritize future features and development.
I tried the app and really like it. For my use, it would be nice to be able to select google assistant as one point and the already mentioned symbols on the to-do list would be nice. As an additional feature, I could imagine an option to just make the app only usable on the second button. So the top is working normal, lower button gives you several options.
All in all, it works flawless and is really useful, thank you so much for it.
I like the idea, but not being able to launch Assistant directly kind of kills it for me. "OK Google" is way too unreliable so I've gotten used to just long-pressing to access Assistant. I'm not quite ready to give that up. Hopefully this won't be too difficult to implement.
@Vegatta @codesplice
Latest version (0.2) lists assistant apps in list of all apps. In my case the entry point for Google Assistant has no special name co it's just "Google". That should allow you to map it whetever you like.
Now I'm thinking whatever the long press primary button should be set to Assistant by default or should take user to the Settings screen. Well, maybe set Assistant as default and open Settings on the first launch. But that maybe a bit later. I have also fixed some bugs and will watch for other possible issues.
I'm trying to get this app to work on my misfit vapour running Android wear 2 (Oreo).
I open it from my launcher and try clicking any of the options but nothing happens, long pressing the button brings up the app icon, but I can't interact with it at all.
Please can you help me to get this working, what I really want to do is to be able to enter theatre mode with long press.
TIA
Sent from my OnePlus5 using XDA Labs
moneytoo said:
@Vegatta @codesplice
Latest version (0.2) lists assistant apps in list of all apps. In my case the entry point for Google Assistant has no special name co it's just "Google". That should allow you to map it whetever you like.
Click to expand...
Click to collapse
Works brilliantly! Thanks so much for addressing that so quickly. Now I can see myself using this a lot!
Jsilver73 said:
I open it from my launcher and try clicking any of the options but nothing happens, long pressing the button brings up the app icon, but I can't interact with it at all.
Click to expand...
Click to collapse
Did you get to the Settings screen similar to those on pictures (just with less configurable options if your watch has only one button)? Button Launcher detects how it was launched (from launcher or button press) so it shows either Settings or actual screen used for launching configured apps (the one with app icon). Did you use system app drawer (launcher) or some 3rd party one? I can see that this can be a bug or unhandled case in Button Launcher and I was planning on testing starting Button Launcher from other 3rd party launchers.
moneytoo said:
Did you get to the Settings screen similar to those on pictures (just with less configurable options if your watch has only one button)? Button Launcher detects how it was launched (from launcher or button press) so it shows either Settings or actual screen used for launching configured apps (the one with app icon). Did you use system app drawer (launcher) or some 3rd party one? I can see that this can be a bug or unhandled case in Button Launcher and I was planning on testing starting Button Launcher from other 3rd party launchers.
Click to expand...
Click to collapse
Launching from stock launcher, my device is misfit vapour - nothing is selected by tapping on either the app icon when it launched on long press nor the dialogue in the apps seeing apart from the long press time out setting which I can change.
Sent from my OnePlus5 using XDA Labs
Jsilver73 said:
Launching from stock launcher, my device is misfit vapour - nothing is selected by tapping on either the app icon when it launched on long press nor the dialogue in the apps seeing apart from the long press time out setting which I can change.
Click to expand...
Click to collapse
So if I understand correctly, you're saying that you don't have the two options: "Default action" and "+ Long press" in the "Long press primary button" category, right? The availability depends on the number of your watch buttons. As your watch has only the primary button, you should still see these options.
I think I could add a test (print button count) to the help section so we should be able to verify whatever it's because of this or not.
moneytoo said:
So if I understand correctly, you're saying that you don't have the two options: "Default action" and "+ Long press" in the "Long press primary button" category, right? The availability depends on the number of your watch buttons. As your watch has only the primary button, you should still see these options.
I think I could add a test (print button count) to the help section so we should be able to verify whatever it's because of this or not.
Click to expand...
Click to collapse
Yep that's right, the settings from the app show up, wait, let me switch to browser and I'll upload some photos
This is what I see on my watch, but neither of those screens allows me to select anything
Jsilver73 said:
This is what I see on my watch, but neither of those screens allows me to select anything
Click to expand...
Click to collapse
Thanks for the shots. I'm pushing new version that works around the reported button count and always shows the universal single button settings. That should hopefully fix things for you.
Hey,
thank you for implementing the function so fast. used the app now for some days and I have to say I am really impressed. My only problem is that I sometimes forget the button combinations, but as that's anyway a planned feature, that's not a problem (and if then mine).
On a Zen watch3 I also got it running without any problems.
Thank you so much for the really useful app.
This works goot on a single button Ticwatch E. Is there any chance you could get it to trigger the screen timeout or lock instead of launching an app?
BackCheck said:
This works goot on a single button Ticwatch E. Is there any chance you could get it to trigger the screen timeout or lock instead of launching an app?
Click to expand...
Click to collapse
So far it's only apps and Assistant but I'm exploring the options. In my case I would like to be able to start timers with specific time right away with button press.
Work in progress:
This is my vision which luckily looks fine for me. (This is how it looks on my Huawei Watch 2 where icons are positioned based on real buttons.)
Long presses are better on the outermost circle since there is more room and the space will be cramped on watches like LG Sport. (All agree, right? )
Now I need the rework the timeout progress bar but I'm not sure which way to go. One idea is to make it as wide as the outmost circle, another idea is to make it "pie chart" like inside the inner circle...
Edit:
Edit2:
Done & pushed.
Works great on HW1 with Wear 2.9 - many thanks!
Everyone who wants theater mode with the button have a look at:
https://www.reddit.com/r/AndroidWear/comments/64qitr/toggle_theater_mode_on_wear_20/
Works perfectly in combination with button launcher!
Cheers
Chris
moneytoo said:
So far it's only apps and Assistant but I'm exploring the options. In my case I would like to be able to start timers with specific time right away with button press.
Click to expand...
Click to collapse
The app works great and I really love that it shows now the buttons. Thaks for the awesome app.
But this feature could be really nice, to turn off Bluetooth connection, or start a timer in addition to apps, so if that could be added, it would be awesome.
Is it possible to also remap a single long-press on the secondary button?
---------- Post added at 03:40 PM ---------- Previous post was at 03:37 PM ----------
Primetime_de said:
Works great on HW1 with Wear 2.9 - many thanks!
Everyone who wants theater mode with the button have a look at:
https://www.reddit.com/r/AndroidWear/comments/64qitr/toggle_theater_mode_on_wear_20/
Works perfectly in combination with button launcher!
Cheers
Chris
Click to expand...
Click to collapse
Autowear also supports toggling Theater Mode already. (you also have to use the adb-commands to allow the permissions, but no root required).
I just used one of their Launchers (the one called "night" ,-) ) to start a securesettings-profile to toggle theatermode.
Na!th said:
Is it possible to also remap a single long-press on the secondary button?
Click to expand...
Click to collapse
Unfortunately AFAIK it's not possible with the current set of Android Wear API.

Question Pixel Gesture to quickly set phone to silent or vibrate mode?

Having owned several OnePlus phones over the years, I have so gotten used to the side slider 'button' to quickly silence the phone.
I am seriously considering buying a Pixel 6 - but just wanted to know from Pixel5 owners etc, is there a way of configuring a gesture that would allow me to configure the alternative to the slide - i.e. would not need to unlock the phone etc in order to mute it and then un-mute it?
I don't mean when a call comes it etc, just when in its idle state and say I just remember in a meeting that it's not on silent...
I have tried to google this - but have not found a definitive answer...
Thanks!
You could use tasker to remap the quick tap
Supercharge the Pixel 6's Quick Tap to Snap feature with Tasker
Supercharge the Pixel 6's new Quick Tap to Snap gesture with Tasker. You can even use it to trigger custom actions based on the orientation of your phone.
www.xda-developers.com
Thanks - will look into that if I cant get used to the volume button+screen tap to mute.
harryw66 said:
Thanks - will look into that if I cant get used to the volume button+screen tap to mute.
Click to expand...
Click to collapse
I was also used to the OnePlus Do Not disturb slider, however, I think google is doing it here much better.
if you go to System >Gestures > and then select Flip to Shhh, this will activate the "Don Not Disturb"
The Explanation of this function says:
"To Turn on Do Not Disturb, place your phone face down on a flat surface. You'll feel a subtle vibration when the Do Not Disturb turns on"
When you then pick up the phone, the Do not Disturb is disabled. i use this all the time and it works quite well for me.
i hope this helps.
Thanks - I did check that feature out.
But it won't work for the kind of situation I often found the slider useful - e.g. the slider would allow me to silence the phone, whilst still in my pocket - if I remember during a meeting or something...
same boat here. i installed an app called "button mapper", and have mapped long press vol+ to change vibration/sound, and long press vol- to turn off screen. force of a habit.
Thanks @tiantianisfox - installed that - helps.
I also noticed that the Vibrate icon has vanished from the Status Bar for Android 12.
I had to install Super Status Bar to get that back for now.
I have send feedback to Google - hopefully if enough people complain, they will add it back later.
Hi,
Just an FYI Update.
I have been trying out a few different apps.
I found that MacroDroid will let me configure the volume buttons to change the individual volume levels for calls, rings, media etc etc.
So, currently, I have set:
Volume up double-tap, to 'Volume Change' with specific volume levels for each item e.g. High Ringer Volume - but low notification volume. etc
Volume Down double-tap to 'Volume Change' with all volumes to zero and Enable Vibration
I will try this out for a few days - otherwise, the next option will be something like Tasker or Macrodroid) + Sound Profile app with the automation subscription.
UPDATE: The Volume Double tap did not work consistently, so I changed it to Volume Long Press - of which there are two variations.
The more useful Long Press has to be enabled via an ADB Hack and works even when the screen is locked.
You then have the option of using MacroDroid functionality to adjust the sound settings based on Up and Down button - including setting the Ringer Volume and Notifications volume independently (somethiing missing from Pixel 6 and many other phones).
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
However, I prefer to use the Sound Profile app (+Automation subscription) - to activate the Sound Profile of my choice and it seems to offer better control over the volume levels. e.g. if I set the ringer volume to 100% in a Sound Profile, it is louder than if I set 100% in MacroDroid Sound settings.
In terms of notification/status icon, I prefer to use the Macrodroid Notification Icon rather than the Sound Profile one - as the Macrodroid one is shown on the Lock screen as well.
The Send Intent looks something like (replace the Profile name as required):
Hope this helps!
I should add that you can send Intents to Sound Profile from Tasker and AutomateIt (and possible others) as well.
Button Mapper works very well. Never had an issue with it not working.
Wshankles said:
Button Mapper works very well. Never had an issue with it not working.
Click to expand...
Click to collapse
Sure, but it only seems offers a toggle option for Vibrate - I could not map one button to Normal and the other to Vibrate...
I installed this app/widget for it this morning - works like a charm and is fairly small so it doesn't look too out of place
Nimueh said:
I installed this app/widget for it this morning - works like a charm and is fairly small so it doesn't look too out of place
Click to expand...
Click to collapse
Cool - but that would require me to take the phone out of my pocket and unlock it - before I could change the sound mode.
I was looking for something that would avoid unlocking the phone and avoid interacting with the screen - i.e. just by pressing a button..
harryw66 said:
Cool - but that would require me to take the phone out of my pocket and unlock it - before I could change the sound mode.
I was looking for something that would avoid unlocking the phone and avoid interacting with the screen - i.e. just by pressing a button..
Click to expand...
Click to collapse
Button Mapper can do it, before I found the above widget I used that. Had the Volume Up button long-press set to toggle silent/vibrate and it worked pretty good, so maybe give that a try?
Nimueh said:
Button Mapper can do it, before I found the above widget I used that. Had the Volume Up button long-press set to toggle silent/vibrate and it worked pretty good, so maybe give that a try?
Click to expand...
Click to collapse
Thanks - but as I explained just earlier - button mapper only offers a toggle option - I could not map one button to Normal and the other to Vibrate.. So, I could not be certain when I use button mapper - whether I had set the phone to vibrate or not - without unlocking the phone and checking the sound settings
Isn't power + volume up working? This shortcut was introduced on Android 11 I think. It will quickly turn on vibrate only or just mute (you can change what it does in the settings)
Only issue is that I think it wont turn back to ring, it only goes one way
Papote3 said:
Isn't power + volume up working? This shortcut was introduced on Android 11 I think. It will quickly turn on vibrate only or just mute (you can change what it does in the settings)
Only issue is that I think it wont turn back to ring, it only goes one way
Click to expand...
Click to collapse
Don't seem to work on the P6 - I disabled the Macrodroid before trying it out...
Power + Volume Up brings up a selection window with Emergency, Lockdown, Power Off + Restart buttons.
problem with tasker and button mapper is that the silent/vibrate/ring on pixel is actually do not disturb/vibrate/ring, so it is kinda inconvinient. i now uses "rules" in settings to trigger them.
harryw66 said:
Don't seem to work on the P6 - I disabled the Macrodroid before trying it out...
Power + Volume Up brings up a selection window with Emergency, Lockdown, Power Off + Restart buttons..
Click to expand...
Click to collapse
You can try the quick tap feature and make it to open this app https://play.google.com/store/apps/details?id=muter.muter
This is an extract from this article:
Haven't tried it before but it's worth a try
Papote3 said:
You can try the quick tap feature and make it to open this app https://play.google.com/store/apps/details?id=muter.muter
This is an extract from this article:
Haven't tried it before but it's worth a try
Click to expand...
Click to collapse
Hey - thanks. But I have the tap programmed for something else and I want to be able to switch to vibrate and normal with certainty - not a toggle back and for either.
My solution allows me to do that i.e. one button for normal mode and one for Vibrate mode - so no uncertainty as to what mode it is in.

Categories

Resources