BT + Arduino

I have a HC-06 bluetooth module whose TX and RX are wired to the same on my Mega ADK. I have paired my HC-06 with my mobile phone in which I have an app which controls an LED's brightness on pin 13 with a slider bar in the app. What should be my code and how can I convert Android data to Arduino commands and control the Arduino?

The wiring is Tx>Rx and Rx>Tx

You might find the following background notes useful

http://homepages.ihug.com.au/~npyner/Arduino/GUIDE_2BT.pdf
http://homepages.ihug.com.au/~npyner/Arduino/BT_2_WAY.ino