Volume key long press to skip tracks

Discussion in 'Bugless' started by gambit07, Dec 21, 2010.

  1. gambit07

    gambit07 Member

    Joined:
    Oct 22, 2010
    Messages:
    384
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +0
    Nice find! I found the droid rom thats using it, it's the charity rom by dew912. Here's a link

    [ROM ]--CHARITY--Smoked Glass Themed Version 11 !! Froyo 2.2.1 FRG83D - Android Forums

    I don't have an account there but maybe somebody could pm him about it?
     
  2. dopeismarcus

    dopeismarcus Member

    Joined:
    May 5, 2010
    Messages:
    36
    Likes Received:
    0
    Trophy Points:
    6
    Ratings:
    +0
    Oh man, I hope this works!
     
  3. NoSenseWorrying

    NoSenseWorrying New Member

    Joined:
    Aug 12, 2010
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    Ratings:
    +0
    *Bump* -- Pete, have you had a chance to verify whether or not this new find is the correct code (I know you've been busy with compcache, etc.)? I'd like to know, just so I can keep searching for you if it's not. Thanks for all of your great work!
     
  4. StDevious

    StDevious New Member

    Joined:
    Nov 25, 2010
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    1
    Ratings:
    +0
    can camera button be made to skip songs when the screen is off ?
     
  5. NoSenseWorrying

    NoSenseWorrying New Member

    Joined:
    Aug 12, 2010
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    Ratings:
    +0
    It's funny you should ask -- because this is my current "workaround", and can be done as long as your phone is rooted.

    Assuming you have a Moto Droid 1, here's what I did:
    1) I loosely followed the help I found here:
    [GUIDE] How to Remap Hardkey Actions || Custom App Launching - xda-developers
    2) Make a copy of /system/usr/keylayout/sholes-keypad.kl for safe keeping
    3) Modify the line for key 212 which currently reads:
    key 212 CAMERA
    to read:
    key 212 MEDIA_NEXT WAKE
    4) Mount /system as read/write
    5) Replace the existing sholes-keypad.kl with the modified one
    6) Reboot?

    Now, what will happen is, when you listen to music, if you press the Camera button, it will skip to the next track.... no matter whether the screen is on or off.

    There are a few catches though:
    - This will start playing music if you press the camera button when the screen is on or off if the music player is not already going (so if you accidentally press it in your pocket, etc.)
    - This completely remaps the Camera key -- So you will no longer be able to use it for anything related to the camera... you will always need to use the soft key on screen to take pictures (which wasn't a big deal for me since I never use the camera)
    - If it stops working (because of flashing a new ROM, or update, etc.) you'll have to go through this process again.

    So, obviously, it's not optimal, but maybe it will at least give you something to work with in the meantime while we wait to hear back from Pete.
     
    #17 NoSenseWorrying, Dec 22, 2010
    Last edited: Dec 22, 2010
  6. StDevious

    StDevious New Member

    Joined:
    Nov 25, 2010
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    1
    Ratings:
    +0
    interesting hack, thanks for posting. But I have stopped using default music player in favor of poweramp for equalizer and lock screen widget with cover art and song id's, so this might not work for me.
     
  7. NoSenseWorrying

    NoSenseWorrying New Member

    Joined:
    Aug 12, 2010
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    Ratings:
    +0
    No Problem :) For what it's worth, BB 0.6.1 uses a player other than the default Music app (I believe it's called Music Mod) and this works... but I have no idea about PowerAmp.

    Ideally, we need something baked into the ROM, which is why we need Pete to sign off on the source code.
     
  8. johnnyb15613

    johnnyb15613 Theme Developer
    Theme Developer

    Joined:
    Apr 16, 2010
    Messages:
    259
    Likes Received:
    3
    Trophy Points:
    18
    Ratings:
    +3
    Chevy has complete screen-off music controls built into Simply Stunning. Volume rocker up/down is next/last. Camera button is play with a short press and turns the player on/off with a long press. Camera still works fine. I would love to this in BB for sure. Great work Pete! Best ROM on the planet!
     
  9. leadhead

    leadhead Member

    Joined:
    Jul 4, 2010
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    6
    Ratings:
    +0
    hate to revive a dead thread but did anything happen with this? I was really looking forward to being able to do this since the previously mentioned hack didnt work for me
     
  10. otter34

    otter34 Member

    Joined:
    Jun 9, 2010
    Messages:
    660
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +0

    So does liquid. I like Pete's work too, but until these controls can be added I'll have to hold off on calling it the "best ROM on the planet." But then again I guess we all have different things that are most important to us. I would say he's one of the best dev's on the planet though. That's for sure
     
  11. yakitori

    yakitori Premium Member
    Theme Developer Premium Member

    Joined:
    Sep 7, 2010
    Messages:
    2,548
    Likes Received:
    10
    Trophy Points:
    103
    Location:
    DFW Texas
    Ratings:
    +10
    Us had this feature too and so far I feel it is top at the moment

    Sent from my Droid using DroidForums App
     
  12. Benny

    Benny Member

    Joined:
    Feb 1, 2010
    Messages:
    108
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +0
    I don't see how Pete could've possibly missed my post, it seems as if hes going to add it in the next build without telling us so it will be a surprise. Anyways, how about turning this thread into a "Feature's wish list" instead of bumping the thread about how much you want it.
    Anyone got suggestions for Pete for future builds?
     
Search tags for this page
android long press volume next track
,
android using camera to skip tracks
,
cyanogenmod for mid7036
,
galaxy s3 long press volume next
,
galaxy s3 volume skip track
,
long press volume buttons to skip songs
,
long press volume skip track android
,
s3 use volume buttons to skip songs
,
samsung s3 customizing the volume buttons to skip tracks
,

skip songs with volume buttons apk