I'm trying to figure out how long the volume up and volume down buttons are pressed, but so far, all I've found is this answer here: Android - Getting volume button long clicks
I can't find anything less abstract than this so I have no idea how to go about implementing it; could someone point me to an example? Any help would be greatly appreciated.