Bluetooth between seeduino mega and smartphone

You may refer here:
http://garden.seeedstudio.com/index.php?title=Bluetooth_Bee#Programming