me (a noob) vs leonardo and bluetooth

hi guys, I am new here in this world of arduino, and I have this problem which is driving me crazy
I have tried like 50 different tutorials but I just cant go any further with this.
I am trying to turn on a led with my android device, but i dont know how to send the information, i tried sending the "A" as a string, as a number, (ascii code) as a string with the number, there is no way to make it work!
here is my code:

int ledPin = 13;
int ledEstado = 2;
char dato;
char datos;
void setup()  {
  Serial.begin(9600);
  Serial1.begin(9600);
  pinMode(ledPin, OUTPUT);
  pinMode(ledEstado, OUTPUT);
}

void loop()  {
  while (Serial1.available() > 0)  {
    delay(3);
    dato = Serial1.read();
    datos = Serial.read();
    if (dato == 'A');
    {
      digitalWrite(ledPin, HIGH);
    } 
    if (dato == 'off');
    {
      digitalWrite(ledPin, LOW);
    }
  }
}

please guys help me! I am using app inventor, the bluetooth module is conected to the 3,3v and gnd, the rx and tx are inverted with the tx/rx from the arduino
please please help me =(

  while (Serial1.available() > 0)  {
    delay(3);
    dato = Serial1.read();
    datos = Serial.read();

If there is at least one byte to be read, read both of them. FAIL!

    if (dato == 'off');

Single quotes are for single characters. Which ONE key did you press to get that ONE character?

PaulS:

  while (Serial1.available() > 0)  {

delay(3);
    dato = Serial1.read();
    datos = Serial.read();



If there is at least one byte to be read, read both of them. FAIL!



if (dato == 'off');



Single quotes are for single characters. Which ONE key did you press to get that ONE character?

none of course, i havent turn on the led, so i havent thought about how turn it off xD
thank you =)