Hello, before I flash back to stock ROM, I wanted to know if there was a way to change song tracks while the screen is off using the volume buttons. I posted a screenshot of the option that I'm talking about that is on the latest release of purenexus. Thank you in advance!
I don't think that function is built into stock. There is an app called Pocket Skip Track but it's made for Power Amp, although it apparently does work with some other music players. If that feature is a dealbreaker you might want to stay on PureNexus.
jhs39 said:
I don't think that function is built into stock. There is an app called Pocket Skip Track but it's made for Power Amp, although it apparently does work with some other music players. If that feature is a dealbreaker you might want to stay on PureNexus.
Click to expand...
Click to collapse
Yeah I'm well aware that it isn't a feature on stock Android. And I might have to give it a try cause I already pulled the trigger with going back to stock for now
oG Admire said:
Yeah I'm well aware that it isn't a feature on stock Android. And I might have to give it a try cause I already pulled the trigger with going back to stock for now
Click to expand...
Click to collapse
Why did you go back to stock if you were happy on Pure Nexus?
Related
Hey all, I am an iphone convert. Recently purchased the HTC outright. Great phone. Coming from a jailbroken iphone there are a couple of features that I miss. They're not deal breakers but they are really convenient in my opinion..
I love using my phones as a media player. And although there's no equalizer on the desire, I think the quality is pretty good assuming you're using reasonable earphones.
I found an app on cydia for iphone which reassigned my volume rocker.
If I just tap the volume up or down, it changed the volume as normal.
If I hold the volume key up or down, it skipped the track forwards or backwards.
I was hopeful that a developer might see this as a good addition to the Desire and be able to emulate such a function for the volume keys.
Thanks!
Hmm i'm guessing that you don't use the stock headphones with inline controls then. I'm hoping when the device is rooted a lot of hacks should surface. I want to use the optical trackpad press to bring up the lockscreen for instance. And a flashlight app that actually uses the flash and not a bright white screen lol.
nope. Those earphones are way to large for my ears! I can't even fit the buggers in!
But I agree, being able to wake the phone with the trackpad is a must.
Here's hoping sooner rather than later
ephumuris said:
Hmm i'm guessing that you don't use the stock headphones with inline controls then. I'm hoping when the device is rooted a lot of hacks should surface. I want to use the optical trackpad press to bring up the lockscreen for instance. And a flashlight app that actually uses the flash and not a bright white screen lol.
Click to expand...
Click to collapse
drewsta_j said:
But I agree, being able to wake the phone with the trackpad is a must.
Click to expand...
Click to collapse
Grab the application "No Lock" from the market - works perfectly on my Desire.
drewsta_j said:
Hey all, I am an iphone convert.
Click to expand...
Click to collapse
drewsta_j said:
If I just tap the volume up or down, it changed the volume as normal.
If I hold the volume key up or down, it skipped the track forwards or backwards.
Click to expand...
Click to collapse
Excellent idea. There is currently application with proves key rebinding is possible without root (Tasker), unfortunately it doesn't have volume keys and I do not have time now to try implementing a solution for this.
I will personally look into this in a month (extremely busy atm) as a hobby, and hopefully the device will have been rooted by then making this definitely possible. I'm not an amazing dev., but I can hack around to make things work
Went from Dream to iphone, but Android pulled me back with the Desire.
We are all waiting for root indeed! Shouldn't take too long I reckon. It is definately a must to wake up on menu/trackpad or home key. Anyone has some ideas?
No lock also bypasses the lockpattern, too bad. And it looks as if it runs in the background and only turns off the screen. Feels like it wil drain the battery, but maybe I am mistaking.
NoLock is okay, but any key turns the screen on. This could be a pain if it's in your pocket and you accidentally press the volume keys, for instance.
When I had the tweak that allowed me to skip tracks with the volume keys, it took away most of my needs to turn the screen simply to skip tracks. This helped save the battery.
Not only that, it also helps if you are running a different application. You wouldn't need to go back to the home screen to use the widget.
Just a couple more benefits
Hi all,
My 1st post on xda
I'm no developer, and haven't coded anything since ages, but after some digging I think may be possible to implement such a feature.
According to the android developer reference on (sorry, I'm a new user so I can't post links)
KeyEvent
KeyEvent.Callback #onKeyDown
Dialog #onKeyDown
And those forums (search for this on google)
anddev org disable_volume_keys-t10191.html
google groups android developers Long-press hard volume keys
Tell me if I'm wrong, but those links indicate that it is possible to replace the behavior of a key press ("intercepting" it before it gets interpreted by the system that changes the volume setting). Then once you intercepted it, you can check if it is a normal key press (short), in which case you would still allow to "forward" the information to the system. BUT, if you detected that it is a long press, you activate the action "next track" and do not forward the volume information to the system.
Something like (syntax is nor correct, of course)
Code:
public boolean onKeyDown(int keyCode, KeyEvent event) // the way I understand this line, it will replace the default behavior of the onKeyDown routine
{
if (keyCode == KeyEvent.KEYCODE_VOLUME_DOWN // if the key pressed down is vol_down
...
if the key press is long // don't know the code for that
do the action for next track
return true; // means that you do not forward the keypress to the system
else // if the keypress is not long
return false; // you have not intercepted the keypress, so you forward it to the system
...
else return super.onKeyDown(keyCode, event); // if any other key is pressed, forward it directly
}
Any opinions on that? Is the xda forum the right place to talk about code, or are other forums more suited to discuss about that?
Interesting..
If the code looks like that I might have to take up a hobby in learning how to code. It doesn't appear to be tooo difficult at all.
It does look like you may be on the right track there Bricolo_fr..
Cheers for looking into it.
Drew.
I see a potential problem though. You'd need to know what media playback program is actually being used, and it needs to support receiving messages from other programs so that you can tell it to skip to the next track. This might even require different coding for every player program available, if they receive messages in different ways.
In other words, you could end up having to write your own media player program.
FloatingFatMan said:
I see a potential problem though. You'd need to know what media playback program is actually being used, and it needs to support receiving messages from other programs so that you can tell it to skip to the next track. This might even require different coding for every player program available, if they receive messages in different ways.
In other words, you could end up having to write your own media player program.
Click to expand...
Click to collapse
Ok, well surely there must be a simple solution?
Why can't we say create an app where you could select which media player you are using (only have a few of the main ones) then we would be able to amend the code as per which option they select before it was implemented?
drewsta_j said:
Ok, well surely there must be a simple solution?
Why can't we say create an app where you could select which media player you are using (only have a few of the main ones) then we would be able to amend the code as per which option they select before it was implemented?
Click to expand...
Click to collapse
Sure you can do that; buy you'd have to examine each of those apps, work out if they accept messages, and work out what format said messages need to actually be in.
One would hope they would implement standard interfaces, but that's all it is, a hope.
Well personally, I use the stock player. It ain't the best but it gets the job done. So if it was just created for that at least I'd be more than happy
Thanks for the comments.
FloatingFatMan you are indeed right. I didn't know that all media players don't behave the same. So not all of them accept incoming messages, and not with the same protocol? Hum...
Does that mean that widgets for media player control are only compatible with a specific media player, also?
About the code itself, do you guys think can work?
I'm quite new here, is xda a place about writing code or should we discuss that in another place where people are more used to that?
Cheers
now that the Desire can be rooted...
on the Nexus one (probably other devices too) with the cyanogenmod roms, this feature is availale. just long press vol+ or vol- and you get next/prev track
can this be done with a moded rom on the desire also? what kind of changes need to be applied to the stock rom to add this function?
Bricolo_fr said:
now that the Desire can be rooted...
on the Nexus one (probably other devices too) with the cyanogenmod roms, this feature is availale. just long press vol+ or vol- and you get next/prev track
can this be done with a moded rom on the desire also? what kind of changes need to be applied to the stock rom to add this function?
Click to expand...
Click to collapse
Agreed. am really liking forward to his feature now the phone is rooted.
ephumuris said:
Hmm i'm guessing that you don't use the stock headphones with inline controls then. I'm hoping when the device is rooted a lot of hacks should surface. I want to use the optical trackpad press to bring up the lockscreen for instance. And a flashlight app that actually uses the flash and not a bright white screen lol.
Click to expand...
Click to collapse
You can try Flashapp on the Market. I can post URL yet but you'll find it...]
Another excellent example that long press on a hardkey can be implemented without root is Quick Settings (great app btw): it can be brought up anytime, no matter what app you are running by longpressing the search key.
Did anyone ever get any further with this?
ephumuris said:
And a flashlight app that actually uses the flash and not a bright white screen lol.
Click to expand...
Click to collapse
Apologies as I know it's a bit OT for this thread, but just wanted to make sure you were aware of the LED Desire Light app (http://www.appbrain.com/app/nostovic.android.desire.ledLight) - the latest version even has a nice wee widget to put the flash on/off, but the main app also offers SOS and turning text into Morse code!!
oxygen mod - based on cyanogen has:
* Skip tracks with long press volume up/down
http://forum.xda-developers.com/showthread.php?t=829734
update: it's a cyanogen feature, so all mods based on cyanogen have this
it works with screen locked.
I've searched and searched, and pretty much every thread I read it says to use Volume+.
My poor Galaxy Nexus suffers from low speaker volume. When watching netflix, for example in my room with no external noises I can BARELY hear people talking. My ringtones (including custom) are low for both notifications and phone calls, alarms too. Youtube seems to be sort of OKAY some videos being loud, some quiet like normal.
I tried the paid version of Volume+, followed the instructions (change musicFX to Volume+), turned down the volume 2 notches and played a song then went through all the +'s (up to +10) with NO difference while returning the volume to max.
I'm running stock 4.0.1 Rogers. Is this an actual hardware issue that can be fixed via an update? I'd prefer not to root and flash to fix this issue.. I'm still in my 30 Day return window and I'm seriously contemplating returning it.
Any ideas?
First of all you can get the app for free from www.androidaudiohacks.com...
It works really well on my gsm gnex
Verstuurd van mijn Galaxy Nexus met Tapatalk
I don't think the Volume+ he has in the market is the one that he has worked for the Galaxy Nexus. Check out thread: http://forum.xda-developers.com/showthread.php?t=1449513
I'm using the most recent one from his website and it definitley works....
I used the paid version from his website (which yes, is free). That's what I was talking about.
Jinfuse said:
I used the paid version from his website (which yes, is free). That's what I was talking about.
Click to expand...
Click to collapse
You want version: 1.8.1.0
Is that the version you are running?
KernelK said:
You want version: 1.8.1.0
Is that the version you are running?
Click to expand...
Click to collapse
Yes. Little to no change, even on +10. Even after rebooting, changing Music Settings to Volume+, etc.
Perhaps it's an issue with the ROM you are on: stock 4.0.1?
Maybe it needs to be on the 4.0.3? Not sure what the limitations are though, just throwing that out there. I'd contact the Dev and see what he says.....
KernelK said:
Perhaps it's an issue with the ROM you are on: stock 4.0.1?
Maybe it needs to be on the 4.0.3? Not sure what the limitations are though, just throwing that out there. I'd contact the Dev and see what he says.....
Click to expand...
Click to collapse
Stock 4.0.1 is all we can update to at the moment on Rogers without rooting and flashing, something I'd like to avoid.
just go with the equalizer app instead, its so much better and will nearly double the volume when you crank each frequency up. and it ties in with the system audio api and music effects etc.
Have it set to +10 for the Equalizer, it made a difference but not much. +15 just distorted the crap out of the quality (with all sliders up).
I love my galaxy nexus. Just recently flashed to stock JB. A few concerns:
Sound/speaker is very low. Even with headphones I find the audio level incredibly low. I am not sure if this is a hardware limitation or software. I am running JB so I understand volume + is not an option.
When sending messages back and forth. I get a.warning that messaging app is sending mamy SMS messages and requires permission. I find this incredibly annoying. Is there anything that can be done?
Does cynogen mod fix my concerns with this. I know 9 is out fully stable.
Stiller35 said:
Does cynogen mod fix my concerns with this. I know 9 is out fully stable.
Click to expand...
Click to collapse
CM9 is ICS, not JB, but yes, a custom ROM will fix most of your issues. Try the ones at the dev section, a lot of them are stable
I'm on CM10 and I still get that texting popup
Sent from my Galaxy Nexus using Tapatalk 2
Stiller35 said:
I love my galaxy nexus. Just recently flashed to stock JB. A few concerns:
Sound/speaker is very low. Even with headphones I find the audio level incredibly low. I am not sure if this is a hardware limitation or software. I am running JB so I understand volume + is not an option.
When sending messages back and forth. I get a.warning that messaging app is sending mamy SMS messages and requires permission. I find this incredibly annoying. Is there anything that can be done?
Does cynogen mod fix my concerns with this. I know 9 is out fully stable.
Click to expand...
Click to collapse
Enable the EQ in the stock music player and move all of the sliders to the top. That should give you better volume.
PS: You have to have a song playing in order to see the EQ option.
thanks
patruns said:
Enable the EQ in the stock music player and move all of the sliders to the top. That should give you better volume.
PS: You have to have a song playing in order to see the EQ option.
Click to expand...
Click to collapse
Thanks guys for the replies. I really hope next minor update allows you to turn off that annoying text permission pop up!!
Stiller35 said:
Thanks guys for the replies. I really hope next minor update allows you to turn off that annoying text permission pop up!!
Click to expand...
Click to collapse
this will turn off the text permissions pop-up: http://forum.xda-developers.com/showthread.php?t=1831289
I will be receiving a Note II in the mail today and I was thinking of putting CM10 on it but I am wondering, is it possible to just disable the capativie buttons and use the native Android virtual buttons?
phenixdragon said:
I will be receiving a Note II in the mail today and I was thinking of putting CM10 on it but I am wondering, is it possible to just disable the capativie buttons and use the native Android virtual buttons?
Click to expand...
Click to collapse
You can enable onscreen buttons in CM10 i think, so yes about the virtual keys, but i dont know how to disable the hardware buttons (i mean i dont know an app for that, you could mod it though)
But why do you even want to disable them? I cant live without hardware keys, especially because software ones would steal place of the note2's precious display :x
DeadSix17 said:
You can enable onscreen buttons in CM10 i think, so yes about the virtual keys, but i dont know how to disable the hardware buttons (i mean i dont know an app for that, you could mod it though)
Click to expand...
Click to collapse
I know with CM10 you can use the virtual keys and disable the capasitive, but just not sure with the stock ROM if you can.
phenixdragon said:
I know with CM10 you can use the virtual keys and disable the capasitive, but just not sure with the stock ROM if you can.
Click to expand...
Click to collapse
I highly doubt you can do it with the stock rom, its a special thing in CM10, i only used Stock for like 10minutes, then flashed MIUI *hehe* (cant live without MIUI)
PS: Im actually sure you cant do it in stock.
DeadSix17 said:
I highly doubt you can do it with the stock rom, its a special thing in CM10, i only used Stock for like 10minutes, then flashed MIUI *hehe* (cant live without MIUI)
PS: Im actually sure you cant do it in stock.
Click to expand...
Click to collapse
Ah well. It is what I figured. I'm not into TouchWiz but I wanted to try it out for awhile, but I can not stand the capasitive buttons.
I am looking for a rom with Virtual Buttons navigational buttons ( like Nexus 7 ). My phone buttons do not work anymore and need this work around.
I am currently running Jellyzeus with turbo kernel.
I edited framework-res.apk myself to enable it but I did not work. I think it is disable elsewhere in the ROM somehow.
It's called navigation bar, it should be available in FXP CM10 rom. Make sure you flash the boot.img from FXP152 to make it bootable.
Various other JB roms have it.
Slimbean/cj360 using it now with navigation buttons
tallman43 said:
Slimbean/cj360 using it now with navigation buttons
Click to expand...
Click to collapse
This ROM is awesome. Its exactly what I was looking for. I like it so much Im thinking about installing it on my nexus 7!
Now if I can just find out how to reassign the wake buttons. Ex. Wake the phone from sleep using any of the four buttons on the front of the phone.
On iPhone there is an app called activator, which you can assign different functions to any button or gesture. I am looking for something like that. Nothing Iev downloaded from Play store works, from what I have read it is more of a ROM feature than anything.
Gesture control might work but I don't know if it has a wake feature
http://forum.xda-developers.com/showthread.php?t=1535740
Sent from my R800i using xda app-developers app
sirkingchase said:
This ROM is awesome. Its exactly what I was looking for. I like it so much Im thinking about installing it on my nexus 7!
Now if I can just find out how to reassign the wake buttons. Ex. Wake the phone from sleep using any of the four buttons on the front of the phone.
On iPhone there is an app called activator, which you can assign different functions to any button or gesture. I am looking for something like that. Nothing Iev downloaded from Play store works, from what I have read it is more of a ROM feature than anything.
Click to expand...
Click to collapse
Yep I think its great! There is a paid app on market that let's you wake your phone by shaking it here link https://play.google.com/store/apps/...xLDEsImNvbS53aWxkcm9pZC53YWtlLnVwLnNjcmVlbiJd it's not free but gives you a 15min trial to see if works with your phone don't know if that's any good
Yeah I already have something like that for my tablet. That is not going to work for me because I walk alot at work and run at the gym. I dont want to have to remember to turn it on and off.
Simply, I just want all buttons to act like the "home" button on the lock screen.
This is really bugging me now. You would think that this is not hard to do and that I am not the first person to want this.