Comments (3)
Ok I fixed it. Firstly if it's against rules delete my message. I used apktool to decompile latest version and edited smali code directly (it was faster than setting up whole build environment, i'm not programmer and i'm not developing for android). Apk is signed with signapk.jar.
I disabled info button completely, now only boss key can toogle mouse cursor (default long press but you can change this to short press in app settings).
Another mod: previously when you switched back to dpad mode by holding boss key after releasing boss key default button action was executed which was anoying. For example I mapped boss key on my MI Box S to app button (that one with nine squares icon), everytime when I switched back to dpad mode after releasing app button, list of all apps was showing and I need to press back button everytime after switching to dpad mode.
I don't know if problem existed only with long press boss key or both long and short press, but my mod fixed it for long press (short press not tested). I added CountDownTimer, it starts when switching to dpad mode and before it is finishing I return true in "public boolean perform (KeyEvent keyEvent)" so key event is not consumed by system. As soon as CountDownTimer finishes I return false in "public boolean perform (KeyEvent keyEvent)" just like it is by default.
Here is apk file: https://drive.google.com/drive/folders/12JRGUFOyfbLW6rLwc8iVFK74Lb_8BA7G?usp=sharing
I also included MouseEmulationEngine.smali and MouseEmulationEngine$6.smali files so it's still opensource. MouseEmulationEngine.smali was modified, MouseEmulationEngine$6.smali is added.
I posted this mod only here, it was tested on my sony android tv and mibox s, looks like everything works like a charm, but keep it mind that it can be bugged! I do not take any responsibilty for using my mod!
Enjoy!
from matvt.
Thanks @damiano94
Mods are perfectly fine and are welcome!
Also, just for completeness, you do not need to install Android Studio, you just need to download Android SDK and Java JDK to build the source code via Command Prompt. You can use any text editor to edit the source files (including Notepad / VSCode / Sublime Text / Notepad++ / Any other that you like).
Also thanks for the information on changes done. If you get time to edit the source files and would like to experiment a bit, I'd be more than happy to help get your patch as a commit and merge it in the repository 😄
from matvt.
Thanks @damiano94
I wanted to disable info button permanently.
from matvt.
Related Issues (20)
- Add option of delay when disabling the boss key HOT 4
- Doesn't work in Chrome on 2019 Nvidia Shield TV PRO and asks for remote debugging permissions. Is this normal? HOT 2
- Android TV (11) TCL HOT 1
- google tv HOT 2
- Xreal Beam - Unity app does not receive volume and 3D buttons HOT 5
- MATVT on Google TV Chromecast NOT WORKING HOT 9
- The application is useless for many tv! HOT 1
- Please reduce the sdk API level to 22 HOT 1
- Select button not working on AndroidTV v11 HOT 3
- TCL T408DL (for example) HOT 9
- Norton 360 reports MAVT as malware HOT 4
- Sonim XP3 Plus rebind key
- MATVT Problem HOT 1
- zoom mode
- MATVT v1.0.7-pre - Inconsistent scrolling speed HOT 1
- Mouse not working on web / older versions won't download HOT 1
- The app breaks the volume control. HOT 2
- Click Not Working Setu instructions needed HOT 2
- Work well on Google Chromecast HOT 1
- Any workarounds for the adb permission codes ?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from matvt.