Sorry. My last phone was a blackberry and it has this weird looking square symbol that other blackberries could scan and link to it. My friend looked like he was going to do something similar the other night with his Droid but got interrupted (he works at a convenience store). Just wondering how he was gonna link phones....... New at this. LOL.
If the square symbol looks like the picture below its a QR code. The Google Goggles app in the market is what you need. I never used it to link phones though.
The barcode scanner app has a share feature for your contacts. Open contacts and select the one you wish to share and hit menu/share/bar code scanner and a scannable qr code will show. Works just like the ol crackberry!