Git Product home page Git Product logo

Comments (13)

curdh avatar curdh commented on August 28, 2024 1

Yes i'll use the standard release version.
But i can try the ABD version too, just not so sure how to use it.. didn't knew about that version.

from matvt.

gjroots avatar gjroots commented on August 28, 2024 1

hai..@virresh .

i am user of ADB . SO send me .. i tested

but my tv has no accesibulity service . so i used in adb command

so i have an idea .. when ADB connect send command to auto enable services .

about 10 sec delay the tvquickaction dev . idea is when volum key pressed then he stop accessibility service on first click then volume long press will work on 2nd click . between 10 to 20 sec mouse pointer not work due to disable service .but volume long press working

but unfortunately on my tv it not work as well. so he alternatively developed ADB method he detect long press key events and raise volume faster .

from matvt.

gjroots avatar gjroots commented on August 28, 2024 1
km_20220620_540p.mp4
  1. Blue pointer is my app pointer
  2. White one is quick action dev pointer , it is also @truefedex/tv-bro app pointer

This way he manipulate volume raised faster
But unfortunately my tv work in ADB raised method like he adb camands to disable and enable accessibility service I think

I hope it will helps you....

from matvt.

gjroots avatar gjroots commented on August 28, 2024

hai @curdh ...

iam also facing this issue .. its not a bug but its android os thing

if any app uses accessibility services volume button will got problem .. like long press action will not work so you can press again & again .... this problem is also present in app like ---tvquickaction & other -- app also i tested

@virresh
tvquickaction app dev adjusted by 10 sec disable accessibility service so the volume buttons will work well
and also he implemented ADB method to raise & lower the volume faster ....

from matvt.

virresh avatar virresh commented on August 28, 2024

Oh okay
I'm still not sure why this problem exists, as this shouldn't be the case ideally, because I don't spend any time in processing if the app is in dpad mode.

I currently don't have this issue on my Android TV and don't have a smaller one to test a new build on, marking this as help required. Will try to test the 10 sec fix when I get my hands on a Android TV with a small remote.

from matvt.

curdh avatar curdh commented on August 28, 2024

No problem i can help you testing the builds

from matvt.

virresh avatar virresh commented on August 28, 2024

from matvt.

virresh avatar virresh commented on August 28, 2024

Oh
That sounds like a very brittle system :(
It'll likely require a custom compiled APK for every person, since everyone has a different idea of time. Someone would like the gap to be 5 secs, some would like it as 20, and even then, people would often find it very annoying that sometimes their volume registers, other time it just activates / deactivates because nobody ever measures the time they're down pressing the key.

I'll still try to look for an alternative mechanism to make this part painless. (Will implement it in the standard version first, and then port to adb one if it works, because adb is even more fragile than gesture API)

from matvt.

gjroots avatar gjroots commented on August 28, 2024

Soon .. I record video what exactly happens... You may get some idea

from matvt.

KunalBhardwaj136 avatar KunalBhardwaj136 commented on August 28, 2024

@curdh @virresh You guys found any fix for Volume button Hold up/down not working repeatedly due to Accessibility Service??

from matvt.

virresh avatar virresh commented on August 28, 2024

@KunalBhardwaj136 no solution that I know of.

from matvt.

keldian avatar keldian commented on August 28, 2024

I'd been using Key Mapper and briefly took tvQuickActions for a spin, then went right back to Key Mapper because of this issue. Holding down volume buttons with Key Mapper repeats them just fine.

from matvt.

KunalBhardwaj136 avatar KunalBhardwaj136 commented on August 28, 2024

@virresh nevermind, i found the solution. Apparently there's an KeyBoard Interceptor java class in source code of android, which intercepts volume up and down press if an Accessibility service is implemented. I just removed that logic and it's working fine now.

from matvt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.