Need Help with code for sending output from arduino to android

I am trying to connect it through Bluetooth. can we send any data from Arduino to be displayed on android screen. i need help with both the codes anyone out there who can help me out.

and from this very site: