Contact Listening with 2.1a

Hey! My riding game is coming great, and I would like to create some moves for the motorcycle. I am trying to understand how to listen and list contacts, but I am really confused. can anyone help me by posting a small code? Lets say I want to get the contacts between two b2Body named A and B.
😎 Thanks in advance !

EDIT: here is a small image of my game so you guys know I am not joking about finishing the project 😛
Image
Nevermind, I got it.
so how ?
btw game looks great.
how did you make the lines glow ?
did you use the flash filters ?

Original thread: https://box2d.org/forum/viewtopic.php?t=4438