Code for connecting my RN-XV module with my android device

Hi

I connected my RN-XV module to board that have some LED. Now i want to turn on led with my android phone. My question is how? I wrote some code in which I turn on led with numbers on keyboard. How to “insert” this numbers in packets so i can send them over wireless network?