I'd like to have my camera button open my FV-5 camera app. I'm rooted, if that helps.
Sooooo.... Nobody can help me. On the XDA forums. Can't even day what it might take to accomplish it? Change the build.prop file? Anything?
Bueller?
Bueller?
#cricketschirpingforagreatphone #rememberwhenthehashtagwasthepoundsignonyourphone
You can probably do an app through the SDK, there use to be a button reassignment app that you could assign different functions to a few buttons, don't remember the name though.
You can do that through Xposed module: PBMC Mappings... at least it worked on LP 5.1.1
Related
hello,
since the ROM is CM7 based settings allow to map the search-key to a custom application. this works in general, but the real problem is that it overrides every application's mapping to the search key.
for exmaple using searching the MPD library with MPdroid (mpd control client) is impossible because you need to press the search key when in 'library tab' to search for a song, but that instead opens my previously mapped custom application.
i hope anyone knows a trick to solve this problem.
thanks and greets
stefan
I think it's meant to be like this unfortunately. Like how a camera shutter button would always, always launch its app, despite probably having a context sensitive function.
I know of no fix for you, sorry.
Sent from my Legend using XDA App
Asovse1 said:
I think it's meant to be like this unfortunately. Like how a camera shutter button would always, always launch its app, despite probably having a context sensitive function.
I know of no fix for you, sorry.
Sent from my Legend using XDA App
Click to expand...
Click to collapse
a pitty but thanks.. at least i figured something out:
my problem is Go Launcher Ex related. with Zeam or ADW Launcher i don't have to map the search key explicit to google search, because they it's already in the home app, allowing other activitys to catch the search-key.
may be i should contact the developer of Go Launcher EX?!
Not sure where else to stick this so forgive me if it's int he wrong place.
I have a Droid a855 (Froyo 2.2.1) that is rooted and running Cyanogen.
A few years ago I wanted to change which app came up with the camera button, there was no easy way to do this at the time but I recall I found a link explaining how to edit a file (I was rooted) and change the app that came up when the camera button was pressed.
Fast forward to today and I want to change this app to a different app, but all the ways of setting an app relation to the intent action of the camera button fail. Nothing overrides the app I "hard set" to the button.
So how is it possible to specify the action of a hardware button that cannot be overridden with an intent? (As well as I can put it, i'm not a programmer) Since this is what I seem to have done, but i'm not even sure what too Google for in trying to find how to undo what I did.
Thanks
*grovel*
Lasivian said:
*grovel*
Click to expand...
Click to collapse
Anyone? Thanks
Still looking for a solution if anyone has one. Thanks.
Help? please?
In the past on kitkat I used a build.prop edit to enable the nav keys on my note 3. It worked fine and I used rom toolbox's build.prop editor to do so. Now however I'm on lollipop and I'm rooted but I'm not sure if that will work.
The reason I'm asking here instead of just tying it out is because I don't have a backup to revert to and I've seen some conflicting answers while googling this. So an anyone confirm that adding "qemu.hw.mainkeys=0" will still work?
-thank you
Make a back up of your build.prop.
Like this
Copy the build.prop and paste it in the same system folder and replace the name.
/system/build.proporiginal
Add what you need to and reboot... if it dont work you can use twrp file manager to delete the build.prop and rename the original.
Thank you. I'll uh try later. I found an alternative in the meanwhile that works great. But first I need to get a custom recovery.
I have Lightning Launcher settings programed to
Menu key long press-open Phone
Back key long press-open Camera
ttkyles said:
I have Lightning Launcher settings programed to
Menu key long press-open Phone
Back key long press-open Camera
Click to expand...
Click to collapse
Would that work in any app?
yup sure does ...
on home screen
menu and back long press goes to specific app. ..
lightning launcher doesn't get much press..But if you take the time to learn its configuration endless possibilities. ...you'll find its the most customizable launcher out.
I show my iPhone phanboy co workers...That i can launch 24 different apps...with a single swipe gesture from my single home screen set up LL.
screenshot
ttkyles said:
yup sure does ...
at anytime or any app
menu and back long press goes to specific app. ..
lightning launcher doesn't get much press..But if you take the time to learn its configuration endless possibilities. ...you'll find its the most customizable launcher out.
Click to expand...
Click to collapse
Well i checked it out. i didnt see a app switcher setting for the menu key.
Also what custom recovery are some of you guys using?
im using twrp 2.8.6.1
Build.prop edit worked for me
evilvoice said:
Build.prop edit worked for me
Click to expand...
Click to collapse
Cool. Great to know. Do you have an screenshots?
With that string added to build.prop, it breaks screenshot (even palm motion). If they are important, I would find another way to take screenshots or wait for xposed.
I can tell you what the buttons look like and what they do, but that's it.
The first button is a backwards "Play" button and it is the same as "Back" but long pressing it does nothing.
The second looks like an "o" centered vertically and horizontally and is the "home" button. Long pressing brought up options for me of Google search, Tasker, or Pressy.
The third button looks like "Stop" from a music player and is the app switcher (recent apps). No long press.
The icons are white and the bar is black
I searched for a way to edit their function but couldn't find anything that didn't require xposed or Softkeyz app.
evilvoice said:
With that string added to build.prop, it breaks screenshot (even palm motion). If they are important, I would find another way to take screenshots or wait for xposed.
I can tell you what the buttons look like and what they do, but that's it.
The first button is a backwards "Play" button and it is the same as "Back" but long pressing it does nothing.
The second looks like an "o" centered vertically and horizontally and is the "home" button. Long pressing brought up options for me of Google search, Tasker, or Pressy.
The third button looks like "Stop" from a music player and is the app switcher (recent apps). No long press.
The icons are white and the bar is black
I searched for a way to edit their function but couldn't find anything that didn't require xposed or Softkeyz app.
Click to expand...
Click to collapse
Yeah i tried it just know and its a bit more messed up than it was in kitkat. Stock apps look strange etc. Well thank you for being the first to test for me.
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.