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.
Hi, sorry if I'm posting this in the wrong section, a bit confused whether it would fall under general Q&A, accessories or apps.
Anyway, does anyone know of a good app that can sort of manage the use of the 3 control buttons of sennheiser earphones while using MusicProplayer?
Right now, I can use the control to skip to the next track or play the previous track but the control for volume itself does not respond. Any app that might help?
Thanks!
seraph011 said:
Hi, sorry if I'm posting this in the wrong section, a bit confused whether it would fall under general Q&A, accessories or apps.
Anyway, does anyone know of a good app that can sort of manage the use of the 3 control buttons of sennheiser earphones while using MusicProplayer?
Right now, I can use the control to skip to the next track or play the previous track but the control for volume itself does not respond. Any app that might help?
Thanks!
Click to expand...
Click to collapse
Hey there! I was in your situation not too long I ended up downloading "JAYS headset control" app refereed by nixoninajar. This app allows you to do everything that you are looking for but the catch is, you have to use just one button. Everything stays the same except for volume control, if you want to increase click once and hold the play/skip button and to decrease double click play/skip button and hold till you get your desire volume level. This works really good for me, tested on several 3 button headsets.
Sent from my GT-N7000 using Tapatalk 2
Nice! I'll try it out tonight! By the way, is there a way to skip tracks / play previous tracks using just one button? Thanks again!
seraph011 said:
Nice! I'll try it out tonight! By the way, is there a way to skip tracks / play previous tracks using just one button? Thanks again!
Click to expand...
Click to collapse
Yes and you can customize it too
Clicks
1x play/pause/answer/hang calls
2x skip track
2x+hold volume up
3x previous track
3x+hold volume down
Easy
Sent from my GT-N7000 using Tapatalk 2
Just following up...unfortunately, Jays headset control isn't compatible with MusicPlayerPro...=*(
seraph011 said:
Just following up...unfortunately, Jays headset control isn't compatible with MusicPlayerPro...=*(
Click to expand...
Click to collapse
Aw man... Sorry to hear that I have never used musicplayer pro, but works on poweramp and playerpro though. Does musicplayer pro have option to control headset buttons? Maybe need to check them off so it doesn't conflict with jays headset app? :/
Sent from my GT-N7000 using Tapatalk 2
I'll try disabling the override for musicplayer pro and check again...thanks for the advice! =)
are there any software or modification that can modify the number of steps/levels of the in-call (earphone) volume. it looks like there is only 7 steps/levels while others (music volume and etc) are 15 steps.. so the lowest setting on the in-call volume is rather too loud for my IEM... I searched around for volume control, found Fine Volume Control but it does not work for in-call volume.. I asked on the developer's thread and he mentioned its not being developed anymore.. so I'm hoping someone here would be able to help..
the only alternative i can think of is getting a in-line volume control..but was wondering if there are any software/other solution to this?
Thanks in advance.
There is a build.prop edit for this (if i remember correctly) , but it changes it system-wide if you're ok with that (media volume, ringer volume, all sound volume steps are changed)
I will update my post as soon as I find it and/or remember the exact code.
In the meantime, search build.prop increase volume steps :google: and see if you can find it, this definitely exists though
Thank you.. I didn't know there is such a thing as build.prop.. I found what you meant.. Thanks.. it gives me a reason to root my phone.. =)
bob330 said:
Thank you.. I didn't know there is such a thing as build.prop.. I found what you meant.. Thanks.. it gives me a reason to root my phone.. =)
Click to expand...
Click to collapse
No problem :good:
Hey guys
I was wondering, if there was an app or module or something g that allowed fine volume scrubbing. Like on IOS you can change the volume in increments of a hundred, not 10 or 15 or anything
Any help will be appreciated
SuperNinja741 said:
Hey guys
I was wondering, if there was an app or module or something g that allowed fine volume scrubbing. Like on IOS you can change the volume in increments of a hundred, not 10 or 15 or anything
Any help will be appreciated
Click to expand...
Click to collapse
Unless you use a ROM with this feature, think carbon or ACIP, then the other option to increase volume steps would be to use an Xposed module ... Think the module was called "volume steps +" or something like that.
Hello all,
There have been various remarks that the sound volume from the Moto G5 (Cedric) both on headphone-jack and speaker is somewhat low. Before rooting I tried to boost volume with some of the Apps available in the Playstore. I could not find significant improvement from using these Apps.
Now I have rooted the phone.
Could somebody out there advise whether I could dive deeper in the software to increase the volume, preferably with a modification which stays in place with flashing nightly updates to the (unofficial) LOS ROM?
Thanks in advance already for feedback received.
hly17_7 said:
Hello all,
There have been various remarks that the sound volume from the Moto G5 (Cedric) both on headphone-jack and speaker is somewhat low. Before rooting I tried to boost volume with some of the Apps available in the Playstore. I could not find significant improvement from using these Apps.
Now I have rooted the phone.
Could somebody out there advise whether I could dive deeper in the software to increase the volume, preferably with a modification which stays in place with flashing nightly updates to the (unofficial) LOS ROM?
Thanks in advance already for feedback received.
Click to expand...
Click to collapse
Easy way
Try this app
https://play.google.com/store/apps/details?id=com.phascinate.precisevolume
Harder way
Try changing the values of system/etc/mixer_paths.xml to increase volume of speaker and headset - do small increases to values
Note unless this change becomes part of the rom zip it will likely replace this file when you flash new rom zip
TheFixItMan, thanks for advise, I will need to go for the less persistent harder way and experiment somewhat with the values there.
TheFixItMan said:
Easy way
Try this app
https://play.google.com/store/apps/details?id=com.phascinate.precisevolume
Harder way
Try changing the values of system/etc/mixer_paths.xml to increase volume of speaker and headset - do small increases to values
Note unless this change becomes part of the rom zip it will likely replace this file when you flash new rom zip
Click to expand...
Click to collapse
Sorry to hijack the thread , but I'm having issues with the headset , when I'm in a call ,people can barely hear me .
I've tried 2 different headsets that work well on other phones but when I plug it on my moto G5 , I sound too low , I have to shout to them to hear me.
But the phone mic works great.
I wander if Mr fixitman can help me .
I've found a thread about it here on the nexus forum , they can encrease the headset mic gain , not sure how to alter the XML file on a moto G5..different from the nexus. Any help will be most appreciated as I use it while driving.
Here is the nexus thread ,if that's any help.
https://forum.xda-developers.com/nexus-4/help/low-microphone-volume-t2090043/page3
rophaq said:
Sorry to hijack the thread , but I'm having issues with the headset , when I'm in a call ,people can barely hear me .
I've tried 2 different headsets that work well on other phones but when I plug it on my moto G5 , I sound too low , I have to shout to them to hear me.
But the phone mic works great.
I wander if Mr fixitman can help me .
I've found a thread about it here on the nexus forum , they can encrease the headset mic gain , not sure how to alter the XML file on a moto G5..different from the nexus. Any help will be most appreciated as I use it while driving.
Here is the nexus thread ,if that's any help.
https://forum.xda-developers.com/nexus-4/help/low-microphone-volume-t2090043/page3
Click to expand...
Click to collapse
I use headphones and other person can hear me fine - iv got viper4android installed
I use skullkandy headphones with built in mic
Using lineageos rom
i did this mod using root explorer https://androidforums.com/threads/mod-raise-max-volume-on-speaker-and-headphones.920622 im using crdroid 3.0 for cedric it works great i set it to 96 and is loud as **** it works if u got root
I've got viper4android installed and it works great on the headset speakers , my main problem is with headset mic ,that I want to increase the mic gain in order for the other end to hear better.