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
Hi, I would like to know how I can toggle Recent App of ICS. It can be shown by long clicking on the home button. The one that has preview because I don't like to be pressing so much my home button as I am noticing improper responses from it. Is there a way to put this as an icon or widget on the homescreen? Thx
Anyone? Tried apps like button savior, etc. But it shows their built-in recent apps instead of the firmware's or samsung's.
BUMP
I know this post is old, but Im trying to figure a way too without using an app or service BUMP\
I found what I was looking for in app LMT using the "invisible swipe gestures" set to top center of screen so that swiping top left is notifications, top right is quick settings, and top center opens recents. This is for anyone who might be searching and happen to land on this dead thread. Any other particular method of shortcut will work if you set it to Activities>SystemUI>Overview.recents is the path to this.
sent from the tapatalk app on my S3 running whatever rom Im running this week
I use GMD Gestures, because my sensitive buttons aren't working. Before, I used CM official inbuilt option that you can change the option sensitive (or back) button for recent Apps. Can really recommend that. Greetings.
Hello. I've got a Nexus 7 rooted with the most recent version of SmoothROM on it. I'd like to use the tablet in a sort of kiosk mode. Right now I'm using a combination of the full!screen app and by enabling Quick Controls from the Labs menu in the stock browser. This gives me the fullscreen I need by removing control buttons, etc, and the Quick Controls removes the URL and forces the browser into a full screen mode. To access the settings you touch anywhere on the right or left edge of the browser and a menu instantly pops up. That is where my problem is. Is there anyway to delay that pop up? Ideally I'd like to have to hold it for a few seconds before it pops up. Even just having it activate in only one spot would be nice.
Any idea if this is somehow possible?
Thanks
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
It seemed to me to be a massive oversight that the shortcut key could only be used to open apps & not perform actions within apps such as use as a camera shutter key.
With a bit of playing around with tasker, auto input & tasker app factory I now have something that works for me as a camera shutter key. This obviously opens up many other possibilities.
My question is has anyone else tried anything similar & would anyone mind trying the attached app? I'm still learning with tasker so I'd like to know if the created app would function as a standalone for people who don't have tasker or autoinput installed.
To test once installed select the app as the shortcut key setting then open the stock camera app & press the shortcut key.
Thanks in advance to anyone that trys it.
https://drive.google.com/file/d/0B4OrmULgDWq3ZGFxdWVLSHR2N2s/view?usp=drivesdk
Sent from my P9000 using XDA-Developers mobile app
Wow, that's really good. It could be fantastic using that key to use Now on tap without the virtual navigation bar
Edit: I've just try it with the camera app and is not working to me
Thanks for the feedback. I've not actually used the now on tap function yet but unless Elephone change how you can assign the button this seems like the best method for making it do what you want. Tasker's really versatile but I'm still learning so I know a lot of the stuff I do is a bit clunky. Personally I want it to be multi function so when the camera's open it's the shutter button but when it's not then I can use it for media control i.e. press once for pause, twice for skip track, 3 times for back track.
Sent from my P9000 using XDA-Developers mobile app
UnaiBoomer said:
Wow, that's really good. It could be fantastic using that key to use Now on tap without the virtual navigation bar
Edit: I've just try it with the camera app and is not working to me
Click to expand...
Click to collapse
That probably means you do require the autoinput plugin then. I've been playing around with now on tap & have managed to get it to work when you click on the app button I created but when it is assigned to the shortcut key it doesn't. It definitely needs the autoinput plugin with the method I've used. Going to make some posts in Tasker threads when I get chance to see if I can get suggestions on better ways to do it.
Sent from my P9000 using XDA-Developers mobile app
Did this move on any further? I wanted to give it a go, but the Google drive link isn't working.
As you say, massive oversight on the part of Elephone. I hadn't even thought of trying to use tasker.
loadedscissors said:
Did this move on any further?.
Click to expand...
Click to collapse
Unfortunately not. The issue with exporting tasker things to an app is to install it on another phone you require all of the appropriate plugins used within the task. It's certainly possible to do things with the shortcut key using tasker but I found most of the solutions convoluted for such a simple result so gave up on it.
Thanks for the reply. It's a shame to hear it was so convoluted to achieve, but thanks for trying.
I've been using Camera Zoom FX, if you set the exposure to +3 it gives comparable results to the stock camera app. The advantage of this app is that you can use the volume rocker as a hardware button to take pictures via an optional setting. There is a free version of this app as well I think, but I don't know its limitations. I think the functionality exists in some other camera apps too, including Google Camera, the thing is that most apps seem to have a noticeable reduction in quality vs the stock app.
I know it's not quite the result you were aiming for, but I hope that the information is of some use to somebody.