[Q] Volume Button next song on Archos 32 - Gen8, Gen9, Gen10 Q&A, Help & Troubleshooting

Hi
How can I configure the Volume Buttons, so that the next song is played when i press one of them longer?
Greets
OnJen

Bump. Was going to post the same question.
I miss the blackberry style song change features with just your volume button. Turning the phone on, going through the security password, than hitting next on the screen is just a mission sometimes when your phones in your pocket and want a quick change.
Anyone script anything or have an app that manages to do just this?

This is hard to do..
But you ca try it with this app: http://forum.xda-developers.com/showthread.php?t=850464

That would change some remaps in my opinion, but, I dont think it gives an option to press vs holding down a button. Pressing it to change the volume and holding it to change the song is where it's at.

jag_saiyan said:
That would change some remaps in my opinion, but, I dont think it gives an option to press vs holding down a button. Pressing it to change the volume and holding it to change the song is where it's at.
Click to expand...
Click to collapse
Oh,..
For this you have to write a new module/kernel for that .. and thats hard
I couldnt do that, but i think other guys here could do that

I really hope someone can. lol I wish I was into that field of line, (ability to create things).

Related

key locks?

hello...
is there any way to lock all the keys.....but still be able to recieve calls (and txts etc)?
The reason i ask is beacuse i want to be able to listen to mp3s while the xda is in my pocket.....
thanks
jay
On phone app, choose Tools->Options->More
Hardware button Lock
'Lock all buttons except Power'
Sorry, misunderstood.
You want to lock it whilst it is powered on. Don't know how.
On PocketDiVX and PocketMVP, you can map the hardware buttons. So if you map both hardware buttons and all directions on the rocker keypad to something which doesn't interfere with MP3 playing (such as 'increase brightness'), you're all set.
I would keep one (maybe a rocker direction?) mapped to toggling the screen on and off to save batteries though.
sorry for souding stupid but...
WHAT???? LOL :lol:
i have no idea what you said.....sorry, i have only had my xda 1 day and i dont even know how to use msn messenger yet
lol.....if u could explain in dumb terms...i would be greatful
jay
well windows have smart key settings like if you
hold down the ALT key and press the F4 key the active problem close
and if you hold down CTRL + ALT and hit DELETE it reboot if it's win9X and give you the taskmanager if it's NT/2k/XP
some you can set yourself to do what ever action you want it to
well it's the the same thing with your XDA when you are running a program you can change what the buttons on your device does
so when you are listening to mp3 then you set the keys actions to something which does not interfear with your music playing, you can prob set these up in the program you use to listen to music with
and in the end a7GH add that it would prob be a good idea to set on off the buttons action to turning off the display to save juice

[IDEA] Vol +/- Key Intercept for added Menu/Back functionality

Just wondering about the feasibility of (someone with the know-how) creating a background app/service that could monitor and intercept the Nook's Vol+ and Vol- buttons, and if held down for a certain amount of time, perform Menu or Back actions as well.
I would think this possible, based on CM ROMs' ability to skip forwards/backwards from the lockscreen when music is playing, as well as the official XBMC Remote's abililty to change the volume for media playing on an XBMC box without interfering with the volume on the actual Android device.
Under the stock BN ROM I had remapped the Vol buttons, which wasn't a problem since the speaker was barely audible in the first place, but since flashing Dalingrin's OC kernel with the increased volume, I (happily) find the need to be able to change the volume levels easily.
I can't be the only one who's pondered this, but I've read through most of the threads and don't recall seeing this anywhere... If I've missed it, please point me in the right direction.
Thoughts? Takers?
Thanks.
You mean like this easily flashable script in the development forum (page 2).
http://forum.xda-developers.com/showthread.php?t=965023
I am talking an app which would retain volume functionality if the buttons are pressed briefly, as well as implement menu / back functions if held.
Unfortunately it looks like that script you linked to simply remaps the volume keys to menu and back -- without retaining volume functionality:
EpicFail236 said:
[...]
I find that my need for physical menu and back buttons is greater than my need for physical volume buttons.
[...]
This zip is CWM flashable, and simply overwrites the keymap kl files with ones that have the volume buttons remapped.
[...]
Click to expand...
Click to collapse
Not exactly what you want, but a simple solution.
see this, tip #7. Its a simple edit to a text file.
Worked on CM7, heres my edited /system/usr/keylayout/qwerty.kl vol up=menu, down=back
Thanks; unfortunately that is the essentially same as sparhawk's solution, and what I did under the BN ROM.
What I'm looking for is a solution via an application that retains the volume button functionality and augments the buttons with menu/back ability and does not simply remap the volume buttons.
If I had the slightest inkling as to how to do this myself, I would. Unfortunately I've tried and failed (miserably) so far at attempting to learn coding for Android.
I was hoping someone might be familiar with the way CM and XBMC Remote handle these intercepts and be able to adapt code, or create something similar for menu/back functionality.
I get what you are saying, but I don't think it would be possible. Notice how if you hold it down now, it will turn the volume down all the way step by step. When the screen is off, it doesn't do anything. If it was made to be held down to switch function, you would lose the ability to turn down the volume by holding it down. I know what I said is confusing, but just think about it lol. Have you thought about remapping tthe keys totally to menu/back, and then having a sound toggle in the pull down widget for the notification bar? You wouldn't have total control over the levels, but at least its something.
Sent from my ADR6300 using XDA App
Xephik said:
I get what you are saying, but I don't think it would be possible. Notice how if you hold it down now, it will turn the volume down all the way step by step. When the screen is off, it doesn't do anything.
Click to expand...
Click to collapse
I am running CM7 n11 on the nook, and regardless of whether the screen is on or off: if music is playing, when I hit the volume button, the volume level is changed. Not sure what you're referring to.
Xephik said:
If it was made to be held down to switch function, you would lose the ability to turn down the volume by holding it down.
Click to expand...
Click to collapse
I don't necessarily think that's the case.
Example: somehow CM is able to retain volume functionality and add skip next/previous track in music player. When I refer to the ability of CM to skip forward/backwards when music is playing, I am basing this on my experience with CM6.12 on my Droid1.
Xephik said:
Have you thought about remapping tthe keys totally to menu/back, and then having a sound toggle in the pull down widget for the notification bar? You wouldn't have total control over the levels, but at least its something.
Click to expand...
Click to collapse
Yeah, done that and didn't love it. I believe a solution such as I'm suggesting would be much more "integrated," elegant, and convenient.
Basically the app would intercept a volume button press:
- brief press: button release < 300ms, app performs volume function
- long press: button held down or release > 300ms, perform back or menu
Are there any experienced devs who provide some insight?
tj!2k7 said:
Thanks; unfortunately that is the essentially same as sparhawk's solution, and what I did under the BN ROM.
What I'm looking for is a solution via an application that retains the volume button functionality and augments the buttons with menu/back ability and does not simply remap the volume buttons.
If I had the slightest inkling as to how to do this myself, I would. Unfortunately I've tried and failed (miserably) so far at attempting to learn coding for Android.
I was hoping someone might be familiar with the way CM and XBMC Remote handle these intercepts and be able to adapt code, or create something similar for menu/back functionality.
Click to expand...
Click to collapse
I've seen this behavior to control the Android music player. And honesty I don't see why it couldn't be adapted to throw a back or home interrupt. But to implement it is beyond me!
Here is a GitHub repo to handle the Android player on long press up and down but also still handle volume changes on short press.
https://github.com/metalhead8816/android_frameworks_policies_base
And I'm pretty sure the specific commit would be
https://github.com/metalhead8816/an...mmit/7504617a9211a65ce767281c59668e8641b8a14d
Mat Sumpter said:
Here is a GitHub repo to handle the Android player on long press up and down but also still handle volume changes on short press.
https://github.com/metalhead8816/android_frameworks_policies_base
And I'm pretty sure the specific commit would be
https://github.com/metalhead8816/an...mmit/7504617a9211a65ce767281c59668e8641b8a14d
Click to expand...
Click to collapse
We're on a better path now. Thank you for posting concrete evidence of the volume buttons serving two simultaneous functions.
Could that code be used as a base for a standalone background app/service to implement the desired functionality? Better yet if it could be built into a ROM such as CM, but a standalone app would be perfect.
As this is really a question for devs, should I have posted this thread in the dev forum?
This code was put in for eclair so it won't apply cleanly to the Froyo code. But I'm sure a DEV with good Java knowledge could hack this into the current policy framework. From the code this appears pretty integral so I doubt this could be an outside apk that we install. This would likely be an alternate framework we'd need to apply to a ROM much like a style. But again I'm not an Android developer so I don't know for sure.
Button remapper works for the simple remapping, but not for the longpress actions.
I have half a mind to attempt writing a simple service for this
long press menu->vol up in 20% increments
long press back->vol down in 20% increments (may interfere with CM7 long press to kill functionality)
http://android-developers.blogspot.com/2009/12/back-and-other-hard-keys-three-stories.html
http://stackoverflow.com/questions/4983605/send-button-volume-button-action-listeners
http://developer.android.com/reference/android/view/KeyEvent.html
A service sounds (to a non-programmer such as myself) like it would be less involved than framework modifications, and portable across ROM updates.
And personally, I don't mind "losing" long-press-kill functionality as I never use it anyway... I'd love to see some progress along these lines... go for it. =)
If you decide to attempt create a service for this, could you be make the long/short actions customizable?
i.e. :
Short press Vol+: Volume up / Long-press Vol+: Menu
Short press Vol-: Volume down / Long-press Vol-: Back
vs.
Short press Vol+: Menu / Long-press Vol+: Volume up
Short press Vol-: Back / Long-press Vol-: Volume down
In most applications, Menu and Back are usable via the status bar; since that functionality would be redundant, it would be nice to retain quick access to volume for short presses. For instances where Menu and Back are not usable in full-screen applications, long-pressing the buttons to perform menu and back actions doesn't seem like much of an issue.
Actually, if the Menu and Back were long-press actions, couldn't you implement functionality to kill the current app if Back was held for a specific amount of time?
Just thought I'd bump this back to the top... any devs out there who might want to take a crack at something like this?
Until we get Honeycomb AOSP this "hack" would be perfect!
I'm on the lookout too. I'd much rather have my vol up and down keys then have them as back and home. Unfortunately I lack the skills to code it so far!
My prayers, answered. Thanks mad-murdock.
http://forum.xda-developers.com/showthread.php?t=1002000&page=23

[Q] Remap power key to launch CRT shutdown app

Need help remapping power key. Someone made awesome app called screen off & lock that does crt shutdown. It would be epic if we could remap power key to launch app.
whoa awesome i just downloaded it. the power button remapping would be awesome, but the long press search button isn't half bad. that's what i'm doing now.
ravigodhwani said:
but the long press search button isn't half bad. that's what i'm doing now.
Click to expand...
Click to collapse
I use voice search all the time. I would think the coding couldn't be to hard but I don't know where to look. It would be awesome if anybody could get this to work.
yeah i'm sure a lot of people use the search button, for some reason i never really need it.
with the camera hack that allows photos to be taken with the power button, and while watching videos, the power button locks the screen while keeping it on, so i know there's gotta be a way to get it to launch this activity. i just don't have any experience with this kind of stuff.
edit -
saw an app called galaxy tuner that apparently remaps buttons, but i am unable to mess with my phone while at work. give it a shot maybe?

Any way to instantly end phone call via pressing Home button?

I found the way how to set it so you can answer the incoming call by pressing the home button instead of sweeping the screen - because it sometimes doesn't respond at all. But is there any way to end the call the same way - instantly by pressing the home button? Could't find it in any settings. Need to be setting in stock firmware, not moded at all.
Thank you
You can end the call by pressing the power button. Settings>Call>Answering/Ending>"The power key ends call"
BarryH_GEG said:
You can end the call by pressing the power button. Settings>Call>Answering/Ending>"The power key ends call"
Click to expand...
Click to collapse
Thanks for the tips. I don't know about this option before.
Sent from my GT-I9100 using XDA Premium App
I know that, but I want to end the call by pressing the home key, not the power key.
Carlitos... can you tell me how you changed the sweeping option to answer the call ???? I assume that this will still have both options to answer the call right ?????
Thanks in advance...
Any answer please....
wcharon said:
Carlitos... can you tell me how you changed the sweeping option to answer the call ???? I assume that this will still have both options to answer the call right ?????
Thanks in advance...
Click to expand...
Click to collapse
As per the comment above by BarryH_GEG
Settings>Call>Answering/Ending
Thanks my friend...
Would also love to be able to switch the home and endcall keys while in conversation
I know there is an app that can remap keys, however, I only want those keys remapped while calling.
No one has taken up this challenge? Amazing. Seems like it's not enough of a challenge for the experts here. Otherwise this would be very useful instead of having to look for the power key every time to end calls

Can I make the volume button into a power button?

I've got the "side key" set to be a power button, but every fiber of my being believes the power button is the one on top. Is there any way I can make the volume up button act as a power button?
You will adapt...
Yeah I think you can do that... saw a remapping apk or that option somewhere.
Problem is it may come back to haunt you; follow the KISS protocol whenever possible.
Those buttons serve some important functions especially when you're having major problems.
Probably a bad idea to alter the button layout that much... after a couple weeks it becomes automatic, more or less
You may find the Galaxy Store app One Handed Operation Plus useful to add more virtual switches.

Categories

Resources