Related
With the release of the Xperia Play specifically, it'd be nice if we had a way to create system wide, and per-program hotkeys.
For example, the camera app has X mapped as the shutter button. With this program we could set it so when the camera app is running, that R will take a picture (so we can do it with the camera closed) and in the home menu, pressing L and R together will open the camera program.
Some games/apps are programmed to let us map buttons, but very few use the analog touchpad. It'd be nice if we could map the different directions to different keys, so we could get rudimentary support for them in existing apps.
Now for those apps that dont use buttons at all, it could send touchscreen presses to them. You'd need a way to do this within the app itself so you could see where you're going to press it. Perhaps via a something (a widget?) in the notification slider, that takes a screenshot and brings up the menu, to let you select the X/Y coordinate to send. This would work great for the touchpad and virtual on-screen analog sticks
Now I can understand if you guys dont want to waste your time, but if you can provide me the necessary API, when I get the hang of Android development I could do it in time. Assuming it works like Windows, I'd need equivalent API to:
-listen for key presses even when the app is not in focus
-detect which app is in focus
-send artificial key/touchscreen events to that app
-take a screenshot of that app
Also, if you can provide the API to run the current Live Wallpaper in the background, it would help for another project I'd like to do.
Great project, with i could help you out. But i dont understand a thing about programming
I take no responsibility for you breaking or causing issues on your tablet. Do this at your own risk!
Disable your Galaxy Note 8.0 Capacitive Keys
What you will need:
Root
Root explorer or similar program
and Be Careful
First:
Open your root explorer or similar app
navigate to system>usr>keylayout
Second:
Make backup of sec_touchscreen.kl
Third
This step has been, found to be not needed. Skip to step 4!
Fourth:
Open sec_touchscreen.kl
find line:
key 158 BACK WAKE_DROPPED
and place a # in front of it like:
# key 158 BACK WAKE_DROPPED
then find line:
key 139 BACK WAKE_DROPPED
and place a # in front of it like:
# key 139 BACK WAKE_DROPPED
Save your changes and close the file
reboot your tablet, and you are finished.
Your capacitive buttons will not respond to your fingers, but retain functionality with the s-pen.
ENJOY!
step 3 was not needed for this guide to work!
Hey ual4720, thanks for the great guide,this is the sort of stuff we need to get some development started for our tablet.
That's more of a how-to, a mod means flashing something
will there be custom roms coming?
Thai Damen said:
will there be custom roms coming?
Click to expand...
Click to collapse
I woud say yes, considering it's the same specs powering the Galaxy Note 10.1 (at least, i'm betting on this )
I'm actually sort of surprised someone hasn't tried flashing one of the Galaxy Note 10.1 roms on the Note 8 (I'm not recommending this, i'm not a developer. Just surprised no one (big kahuna's) tried this).
I can't wait until someone figures out how to make this a quick option on the drop down menu so we can toggle the keys on and off based on what we're doing
Sent from my SAMSUNG-SGH-I317 using xda premium
Just to be clear - this is only suppose to disable the capacitive function of the hardware buttons, not enable the virtual on-screen buttons or anything (the latter was what I was hoping for)? Don't mean to diminish the value of the first mod to appear on this forum - I just don't quite understand the use case for this. Thanks!
peng1can said:
Just to be clear - this is only suppose to disable the capacitive function of the hardware buttons, not enable the virtual on-screen buttons or anything (the latter was what I was hoping for)? Don't mean to diminish the value of the first mod to appear on this forum - I just don't quite understand the use case for this. Thanks!
Click to expand...
Click to collapse
I use my tablet in landscape a lot! I found it was hard to hold the tablet with both hands because I kept hitting the Capacitive keys. this is my way of solving that! I thought I would Share it.
Sent from my GT-N5110 using Tapatalk HD
I hope it didn't sound like I was criticizing the patch. I was genuinely interested in how people were using this - we all have our own ways of doing things. For example, the hardware buttons have turned out to be more convenient than I expected for me because I use the tablet in bed a lot, and I find it's easier to touch the buttons if I hold the tablet upside down, so the buttons are at the top. With virtual buttons, they'd just move themselves back to the bottom!
Thanks, working good with LMT launcher.
colhavoc said:
I woud say yes, considering it's the same specs powering the Galaxy Note 10.1 (at least, i'm betting on this )
I'm actually sort of surprised someone hasn't tried flashing one of the Galaxy Note 10.1 roms on the Note 8 (I'm not recommending this, i'm not a developer. Just surprised no one (big kahuna's) tried this).
Click to expand...
Click to collapse
Similar specs, but different. If you tried flashing a ROM you'd softbrick your device. There are a number of devs working on ports and I'm sure we will be seeing customs appearing soon in the future.
Sent from my GT-N5110 using XDA Premium HD app
Thanks a lot for sharing detail information about the Galaxy Note. This will be helpful for me to developing stuff.
Hello all,
after disabling capacitive keys, install GMD gesture control to get the same through customized swipes.
Now SNote will work without being annoyed by keys at the end of the page
Hi all,
I kinda like the HW buttons and I wished they were real buttons rather than capacitive.
Is there a way to disable them ONLY in certain apps? I would like them to be disabled when I use S notes only.
Also,
the mod mentions "Your capacitive buttons will not respond to your fingers, but retain functionality with the s-pen."
So I can actually still use the buttons using the Spen?
Thanks!
For those who tried this, I wonder what app do you use to simulate the "back" and "menu" button WITHOUT using the Stylus?
I'd love to disable the capacitive keys, but there are times when I need to bring up the menu or go back WITHOUT taking out the Stylus and drawing the gesture.
lanwarrior said:
For those who tried this, I wonder what app do you use to simulate the "back" and "menu" button WITHOUT using the Stylus?
I'd love to disable the capacitive keys, but there are times when I need to bring up the menu or go back WITHOUT taking out the Stylus and drawing the gesture.
Click to expand...
Click to collapse
i use apps gesture control. can get it from playstore. the free version is sufficient for daily use unless you want to make custom gesture. go for pro.
andrianarison said:
Hello all,
after disabling capacitive keys, install GMD gesture control to get the same through customized swipes.
Now SNote will work without being annoyed by keys at the end of the page
Click to expand...
Click to collapse
Good day. Could you explain "get the same through customized swipes?"
Do you mean it's possible to toggle the editing or renaming of the "sec_touchscreen.kl" file?
Even if you do this, will you need to restart every time?
theraker007 said:
I can't wait until someone figures out how to make this a quick option on the drop down menu so we can toggle the keys on and off based on what we're doing
Sent from my SAMSUNG-SGH-I317 using xda premium
Click to expand...
Click to collapse
I 2nd this.:good:
I'm using the unofficial CM 10.2 for the note and have deactivated both buttons, but they are still glowing. Is there a way to deactivate this too?
kingofcomedy said:
I'm using the unofficial CM 10.2 for the note and have deactivated both buttons, but they are still glowing. Is there a way to deactivate this too?
Click to expand...
Click to collapse
Try in the Setting, where you can disable it.
Is it me or does having the soft keys eat up a strong 1/4" of the screen negate the larger screen?
I have used the program to auto hide them but every time I type a text they pop up and take be back, home or wherever depending on how I have the layout set.
In addition, the text messaging viewable area is smaller given these keys and continually hides the last messages.
Something tells me I am not going to get used to not having a physical home key and off screen menu and back keys.
Thoughts / Opinions?
Have you considered re-sizing them? G2 Xposed can do that if I remember correctly, and if you're on an AOSP-based rom Gravity Box can do it if that functionality is not included in the ROM. You can make them quite small, which may look a tad strange at first but in terms of actual use I think it's completely natural, considering any off-screen buttons would be below the screen anyway. I currently run them at about half height, and you can pretty easily get away with even less than that if you wanted to. I used to prefer hardware keys as well but in time I grew to like soft keys. I like how you can try all sorts of different sizes, button combinations and button layouts, to the point that I have even used soft keys of phones that did not initially have them. Try some different sizes and setups before giving up on them altogether.
DHM078 said:
Have you considered re-sizing them? G2 Xposed can do that if I remember correctly, and if you're on an AOSP-based rom Gravity Box can do it if that functionality is not included in the ROM. You can make them quite small, which may look a tad strange at first but in terms of actual use I think it's completely natural, considering any off-screen buttons would be below the screen anyway. I currently run them at about half height, and you can pretty easily get away with even less than that if you wanted to. I used to prefer hardware keys as well but in time I grew to like soft keys. I like how you can try all sorts of different sizes, button combinations and button layouts, to the point that I have even used soft keys of phones that did not initially have them. Try some different sizes and setups before giving up on them altogether.
Click to expand...
Click to collapse
Thanks Kindly.
I had been searching for something like this but for whatever reason didn't find it.
Love the call quality on the phone and this may just be the answer
The soft keys also keep the size of the phone down. Otherwise it would be a butt hurt Note 3 . This phone is a perfect size.
What app are you using to hide them? I'm using GMD Auto Hide.. The paid version. I never accidentally bring up the software icons while texting. Did you know you can adjust the area that triggers the software keys? I have mine set to a tiny area across the bottom of the screen.
Sent from my LG-LS980 using xda app-developers app
Also currently enjoying GMD auto hide PRO
Sent from my LG-LS980 using XDA Premium 4 mobile app
is that possible the Soft Keys to change smaller???
profeet said:
is that possible the Soft Keys to change smaller???
Click to expand...
Click to collapse
READ, man.
DHM078 said:
Have you considered re-sizing them? G2 Xposed can do that if I remember correctly, and if you're on an AOSP-based rom Gravity Box can do it if that functionality is not included in the ROM. You can make them quite small, which may look a tad strange at first but in terms of actual use I think it's completely natural, considering any off-screen buttons would be below the screen anyway. I currently run them at about half height, and you can pretty easily get away with even less than that if you wanted to. I used to prefer hardware keys as well but in time I grew to like soft keys. I like how you can try all sorts of different sizes, button combinations and button layouts, to the point that I have even used soft keys of phones that did not initially have them. Try some different sizes and setups before giving up on them altogether.
Click to expand...
Click to collapse
UDN Pro
I'm using Ultimate Dynamic Navbar Pro to hide the navigation bar. It takes some getting used to, but now I wouldn't have a phone without it.
You can set different triggers to show/hide the nav keys, I prefer sliding at the bottom of the screen to show the keys. With this you can also customize your buttons in many ways; glow effect, key color, keys sizes, fade effect and so on.
There's a free version available on Play Store, so give it a try.
Then there's pie to...
Or what I do, is:
Root (of course)
Download "texDroider" from the Play Store to change the DPI from 480 (default) to 400. Reboot. Enjoy MOAR SPACE
If you want to actually resize the NavBar to make it thinner:
Download the TWRP Recovery image using your phone that is designed for your version model
Download "Flashify" from the Play Store and select the TWRP Recovery file you downloaded (Probably in the "Downloads" folder on your Storage)
Reboot
Then look in the Development threads for a NavBar size mod, download the MEDIUM or SMALL. I use Medium with 400 DPI, else I'd use Small with 480 DPI
Reboot into TWRP and flash the NavBar Mod.
Rejoice
OR
Search for, and download, XPosed APK file from XDA, then install the APK
Search for and download the XPosed G2 Settings Module, then install the APK
Launch XPosed, enable the G2 Settings Module, resize NavBar
OR Hide them as previously said but I don't much care for this. It gets annoying pretty quick IMO. I move around too quick to require extra taps or swipes to go back or home.
So ive been search around for a while now on how to fix this. And to anyone that chimes in and says why do you need the menu button obviously you don't use older apps, the new touch button on the screen is a huge annoyance especially since i've used my phones this way since my first S1. Regardless this is how i want it and so do many other people.
Currently this is only for a rooted phone
I have figured out how to remap the left soft key from the App Switcher/Multi window over to the old style menu key. Instructions for that can be found here
But now i don't have any way of switching to my currently open apps, after remapping the left key, the longpress now takes you to search. and long pressing on the home button also takes you to another variation of the search (both i dont use nor want). I want to be able to remap my left softkey on longpress to open up currently open apps (APP_SWITCH) and it would be nice if long pressing on Home could open the Task Manager as it did on my S3.
As far as i can tell editing of the longpress function is done via a Policy edit. Read about that HERE
Keep in mind that post is from 2014 so i have no idea if the internal code is still being handled the same way, i couldn't even find that file on my S6, but i did find a file called SEPOLICY in my root folder using ROOT EXPLORER. Do any of you know more about this and how I can go about changing this? im sure its a code level adjustment. Thanks
Long-press home button can be controlled without root easily.
Check out this app:
https://play.google.com/store/apps/details?id=com.spada.nowgesturetweaksfree
I use the long-press home to get to my last used app.
I wonder if I can remap my buttons to launch any other apps.. Will have to tinker around a bit.
Ewww.
@rbiter said:
Ewww.
Click to expand...
Click to collapse
if you have nothing useful to bring to this discussion then please get out
j1635 said:
if you have nothing useful to bring to this discussion then please get out
Click to expand...
Click to collapse
very useful. menu for navigation is long long outdate. software nave or 3 dots is the customary way to go. adding a secondary menu button is redudant and unnecessary. my little ewww comment brought a lot to the table. you tryingt to call me out on it is less useful.
@rbiter said:
very useful. menu for navigation is long long outdate. software nave or 3 dots is the customary way to go. adding a secondary menu button is redudant and unnecessary. my little ewww comment brought a lot to the table. you tryingt to call me out on it is less useful.
Click to expand...
Click to collapse
lol f off
If you guys use Dropbox, how do you get to the menu with SORT, etc.. without a menu key. This is making me crazy. I'm using nova launcher and there is no floating menu key. ????
The problem is if not every developer uses it, it's inconsistent.
It often helps if the options etc. In apps are on the top, so you don't have to fidget with your phone to reach the top or use two hands.
The menu button on every app is positioned somewhere else, so I find the op wanting it justified.
All in one gestures let's you remap every key, for some odd reason on my s4 I can remap the menu key, but on the S6 for some odd reason the option of the menu key has vanished in the same app:what:
Sent from my SM-G925F using XDA Free mobile app
Hi pal. Hope it helps. Make 254 button remap, then install nova launcher, in tab gestures select long press menu and then recent app. Profit! Now once tapped you have menu button, long pressed - recent apps.
So, i made it, i use it. It works.
j1635 said:
So ive been search around for a while now on how to fix this. And to anyone that chimes in and says why do you need the menu button obviously you don't use older apps, the new touch button on the screen is a huge annoyance especially since i've used my phones this way since my first S1. Regardless this is how i want it and so do many other people.
Currently this is only for a rooted phone
I have figured out how to remap the left soft key from the App Switcher/Multi window over to the old style menu key. Instructions for that can be found here
But now i don't have any way of switching to my currently open apps, after remapping the left key, the longpress now takes you to search. and long pressing on the home button also takes you to another variation of the search (both i dont use nor want). I want to be able to remap my left softkey on longpress to open up currently open apps (APP_SWITCH) and it would be nice if long pressing on Home could open the Task Manager as it did on my S3.
As far as i can tell editing of the longpress function is done via a Policy edit. Read about that HERE
Keep in mind that post is from 2014 so i have no idea if the internal code is still being handled the same way, i couldn't even find that file on my S6, but i did find a file called SEPOLICY in my root folder using ROOT EXPLORER. Do any of you know more about this and how I can go about changing this? im sure its a code level adjustment. Thanks
Click to expand...
Click to collapse
but if i want to change the long press from split screen to menu? how do i find that? will it work the same?
Delphinus3 said:
but if i want to change the long press from split screen to menu? how do i find that? will it work the same?
Click to expand...
Click to collapse
look at my Rom.. it needs changes in framework to get that working..and it is working
Alex-V said:
look at my Rom.. it needs changes in framework to get that working..and it is working
Click to expand...
Click to collapse
i saw your page.. there are 2 roms i seem to like, yours and EMPORIA but idk who is best. lol i haven't even bought the phone yet but yea the menu button will be missed for me. what i want in a rom? if its based on stock i like it as close to stock as possible (no bloatware), call recording, if there's an option for increasing camera performance thats awesome, better battery life than stock original. that's it basically. and if i only want to root, how can i change menu longpress? i hered theres like a toolbox root app for galaxy devices...
Delphinus3 said:
i saw your page.. there are 2 roms i seem to like, yours and EMPORIA but idk who is best. lol i haven't even bought the phone yet but yea the menu button will be missed for me. what i want in a rom? if its based on stock i like it as close to stock as possible (no bloatware), call recording, if there's an option for increasing camera performance thats awesome, better battery life than stock original. that's it basically. and if i only want to root, how can i change menu longpress? i hered theres like a toolbox root app for galaxy devices...
Click to expand...
Click to collapse
it's only my personal rom..means it's not made for making any profit or let's say thousands of users..
i think you must try it yourself for one or two days and compare..my is very clean
Do you guys think that will ever be possible to reprogram the only physical button available on the Z line to make it more useful?
Something like:
Tap = back
Long press = Home
Double tap = Multi-tasking
+1 on this. It would really be great to be able to interact more with it.
But it's not a button......
xamindar said:
But it's not a button......
Click to expand...
Click to collapse
In that it is not a mechanical activation device, no - it's not a button. But it is a sensor that can detect the presence of a finger, which means we could perform different actions in response to such events... just like one would when "pressing" a button. Hell, assuming the APIs exist, we could even configure the sensor to execute different actions depending on the finger touching it. I'd love to have it do one thing when the thumb on my right hand touches it and another when the thumb on my left hand touches it - as different hands typically indicates different uses.
Those interested in giving the fingerprint sensor additional functionality should keep an eye on this project. It only has a few functions now but might evolve into something more useful.
http://forum.xda-developers.com/android/apps-games/app-fingerprint-to-unlock-t3466549
Sent from my XT1650 using Tapatalk
Check out Elephone S7, it comes with thr features as mentioned in this thread (1 press for back, double tap for home, long press for recent drawer)
MroStudios said:
Do you guys think that will ever be possible to reprogram the only physical button available on the Z line to make it more useful?
Something like:
Tap = back
Long press = Home
Double tap = Multi-tasking
Click to expand...
Click to collapse
Has two functions as I know.
1. Fingerprint scanner
2. Screen off button(any finger)
Sent from my XT1650 using Tapatalk
I'm not an expert, obviously, and this is why I opened this thread (thanks to the moderator that moved it in the right section) but I guess that a fingerprint reader can or could be used as a sort of button since it is definitely possible to do gestures on (many of) them.
I've found Gravitybox works well, with per finger actions and an automation app it can do quite a lot.
supacrazyguy42 said:
I've found Gravitybox works well, with per finger actions and an automation app it can do quite a lot.
Click to expand...
Click to collapse
? Really? What version of GravityBox, and where exactly do you configure the per finger actions? I've looked all through the app and cannot find anywhere to do what you're describing...
SolusCado said:
? Really? What version of GravityBox, and where exactly do you configure the per finger actions? I've looked all through the app and cannot find anywhere to do what you're describing...
Click to expand...
Click to collapse
In the latest on Xposed 3.1, Gravitybox 6.2.1. Just set it up on my Moto Z, makes the normal navigation home button temperamental but besides that works well.
(Configuration for per finger actions was in the Fingerprint Launcher section, definitely a new feature)
supacrazyguy42 said:
In the latest on Xposed 3.1, Gravitybox 6.2.1. Just set it up on my Moto Z, makes the normal navigation home button temperamental but besides that works well.
(Configuration for per finger actions was in the Fingerprint Launcher section, definitely a new feature)
Click to expand...
Click to collapse
The home soft button isn't temperamental it's activation area is smaller when activating fingerprint actions.
If you test it out it's reacting to your touch from the middle on up not from the lower end already.
regenwurm16 said:
The home soft button isn't temperamental it's activation area is smaller when activating fingerprint actions.
If you test it out it's reacting to your touch from the middle on up not from the lower end already.
Click to expand...
Click to collapse
Aye, I did notice that but that makes it temperamental in use since it's not normal to have to carefully touch the top of the button or swipe from the sides to raise the nav bar. Gestures and full screen works grand anyway.