AOSP Volume Key Shortcuts - G2 Q&A, Help & Troubleshooting

Hey guys just want to find a way to appease a feature i've found infinitely useful for me while using a G2/G3 based ROM is that while the phone is asleep/ screen is off I'm able to long press the volume up button (usually opens the memo app) for Torch (set via G3 Tweakbox), and volume down to open the camera. Now this is extremely useful as when i need to pull out my phone to take a quick picture i've found it's much faster to have the button already depressed as i pull my phone from my pocket so that the camera is already ready to go by the time it's out. I'm looking at way to get the same functionality on an AOSP rom. (I.E Mahdi/AICP/PA/OMNI/LS)
Now for Torch I was able to achieve it via this module: http://repo.xposed.info/module/ma.wanam.torch
Additionally since I also use volume controls for music track control it needs to not open the camera/torch while i'm trying to change songs with the volume keys. The xposed module linked earlier has that functionality. Just looking for the same thing but with camera..
Appreciate the comments and replies.

Related

How to assign new buttons?

I'd like to be able to hold a button (other than Button 5) and have it execute a command/program. Can it be done?
ie. Hold OK button to launch X program? I've googled with no luck.
Search the forums. There is a thread by Sleuth255 (?) with the title PTT Function Hacked or something similar.
I found that thread. But it's doing what my TyTN does anyways... allows you to hold the button 5 and launch. I need that function for the other buttons as well.... unless I'm missing something.
i use ae button plus for this.
its free on a trial with a popup on phone phone startup, or $7 to unlock.
its FANTASTIC. interface isn't overly intuative to setup, but basicly you can have
1 click, 2 click, 3 clicks and press to hold on *all* the hardware buttons do different things.
its also got a reasonalbe app switcher built in, and way to turn the screen off and lock the keys if you want your media to keep playing when the phone in in a lower power state. *(not sure how much this saves in terms of power, but the key lock is why i use it)
For example,
my internet button (up and right of screen) is now set to
1 click - Load IE,
2 click - Load MusicID (listens to any song being played and then tells you the artist and track)
3 click - Load tomtom (usfull so i can switch between messages/phone calls and tomtom when driving quickly.
press and hold - turn off screen and lock keys for media playback.
Wish it was more popular i think its a fantastic application! you should give it ago.
as an aside note, i think there is a reg hack to do the press and hold on other buttons, but honestly do your self a favour and try
http://ae.inc.ru/aebplus.php
(website looks Naff!!! but good app)
Thank you. Exactly what I need. Cheers.

Xperia silentmode

Hi guys, i've received my Xperia a couple of days ago, installed TomTom 7, Palringo Messenger and zsIRC.
I love it, i simply love it. But i have some problems with the usability which i believe you guys can help me iron out:
- If the Phone is put in Silentmode, the mp3 Players won't work, whether it is the Xperia Player Panel or MortPlayer... is there a workaround for this, or if not, is there a way to put silentmode on a hotkey, because it takes long to flip to the "Today" Page to put silentmode off...
- I tried MortPlayer because i found it hard to control the Xperia Panel Player with my finger while driving, but MortPlayer was kind of buggy, it changed the size to quater screen whenever i opened the keyboard and even without that bug i found it still too small since it didn't use the full resolution.
- Is there some kind kind of Alt+Tab like feature? I'd like to switch between tomtom and the mp3 player while driving and that would need some kind of quick window change button, is there a way of achieving that?
I don't have installed the original wm6.1 volume controle, but i think there are 2 bars and one of them for the system volume. I think it was the left one. Put the volume up and you should be able to hear sth. with the player.
EDIT: The Volume controle pops up when you press the volume down or up button
You can easily adjust volume and between modes normal, vibrate and silent with the volume up/down keys. Keep pushing vol down and you'll get to silent mode. Push vol up and you'll get back to normal mode through vibrate mode.
well, thats solved, but i still need something to change the programs while i'm driving, like a possibility to lay something like alt+tab on the ok button, for example.
Try AE Button Plus. You can set a button (single, double, triple or long press) for i.e. task manager (pretty neat aebp's own), alt+tab or switch to next application.

Any way to bind the optical trackpad button as a dedicated camera button?

After about month of using my dinc, I've found that I literally never press the opti trackpad button. Is there any way to make this button act as a dedicated camera button (or to set it up to launch a specific app). I've done no customization to my phone thus far (waiting on a stable froyo custom ROM), but I have no problem with rooting or installing a custom ROM in order to get this functionality. Does anyone know if this is possible? I'd love to reclaim this currently useless button.
Download Vignette from the market and you can set your trackpad to take pics or you can even tap the screen to take a photo.
I think morph2k4 is talking about having the button work even when you're not in a camera app. So the idea would be, any time you press that button, it would either take a picture or open a camera app. With Vignette, that button only works when you already have the app open.
Exactly right, I want to make that button load up my camera app from anywhere.
You should take this to the development forum, they might be able to help.

Map media play/pause to hard key?

I'm looking for a way to pause and resume media without interacting with the touchscreen. I don't care if it also wakes the screen, and I'm willing to remap a volume button to menu, camera, or whatever if necessary, though I would prefer just mapping it to a long-press, or better yet to the power button so that all media controls would be accessible without opening my case.
Are there any options?
Well, I have one less-than-ideal method:
Taosaur said:
1. install Media Keys app to add media controls to my shortcuts menu
2. use keysmod/NookKey Editor to map Menu to Vol- (I'd rather keep Vol-)
3. map play/pause to Menu longpress in CM Input settings
4. disable lock screen (I'd rather keep security)
5. use Power to wake the device, then longpress Vol- (now Menu)
Click to expand...
Click to collapse
Now, I'm already using the "Volume button music controls" setting which maps next/previous skip buttons to Vol+/- longpress when the screen is off. Does anyone conversant with ADB know a way I could swap in play/pause for previous on the Vol- key?
It would be ideal if I could map that behavior to the Home button; all it does now is wake the screen, which Power duplicates, but I suspect the framework is already in place for the Volume buttons, and it might be as simple as swapping one line of code for another.
I'm trying to submit more versatile "Volume button music controls" as a feature request for CM7, too, but if anyone has a more immediate solution I can implement myself, I'd like to give it a try.
A minor elaboration on the method above: keysmod lets me set the Vol- button (now Menu) as wake-on-press, so I can click it once to wake, then long-press to play/pause. Oddly enough, the long-press doesn't work if I left Google Music Beta (or probably any media player) on-screen when the NC went to sleep. I haven't tested extensively, but it's possible other apps would block the long-press behavior, too. So, for it to work reliably, you want to return to your homescreen before putting the NC to sleep.
Also, if nothing is playing, the long-press will start the default Music app. If another media player (including Google Music Beta) is playing, it will pause and resume that app.
I've poked my head into the CM7 code, but don't have so much as a toehold on tracking down and replacing the relevant bit of code to swap play/pause for previous track in the Volume button music controls setting. If any higher-level nerds than myself can offer a clue, it would be much appreciated.
ETA: My workaround is basically serviceable for using the NC as a PMP or bedside player, particularly for audiobooks where play/pause is going to be considerably more important than Vol-. If you're anxious that keysmod may affect Vol+/- functions in the CM7 boot menu or CMW, I can confirm that no, as expected, it does not.

Volume keys for musik skipping on Stock Android

Hi,
I've been using CyanogenMod 10.2 on my Nexus 4, but I changed back to Stock Android. But now I'm missing a very useful option: the option to use the volume keys for skipping the Musik when the screen is on and I would like to use it now on Stock Android. The Apps in the Play Store don't work like I want, on one hand they don't work that good and on the other hand they only change the volume control to musik control, but I want to use both (short press for volme up/down, long press for next/previous title) so I thought I could use the ButtonRemapper or Tasker to make this real. But I can't find a function for "long press" in the ButtonRemapper or the possibility to have two things on one button or, in ideally a way to only activate it when the screen is turned off. And in Tasker (I only have the free version now for testing) I can't find a way too, so there would only be the possibility of a script for all I know.
Is there any way to solve my problem?
BTW: I have Android 4.3, rooted. And I need an "step-by-step-walkthrough", especially when I need a script because I don't know anything about scripting, so please have understanding when I need an easy way for that.
Works now with Xposed Framework...

Categories

Resources