error on android data exibition from arduino

Hello,

I'ma beginner on arduino and app inventor and I'm having problems to display some data receive on android from arduino

The command serial.print(argument) is displaying in a label desordely. For example:

serial.print("apartment") ----> display partamenta
serial.print(300) ----> display 003

Can someone help me with this?
Thanks

Can someone help me with this?

Without seeing your code?
No.

Sorry!

I’m sending the variable to lcd, to monitor serial and to bluetooth simultaneously, for test.
There is the code:

#include <LiquidCrystal.h>
#include <SoftwareSerial.h>

LiquidCrystal lcd(7,8,9,10,11,12);
SoftwareSerial serial1(3, 4); //RX, TX

float number=0;
float cont=0;

const int inputPin = 2;

void setup() {
// put your setup code here, to run once:

lcd.begin(16,2);

Serial.begin(9600);
serial1.begin(9600);

pinMode(5, OUTPUT);
pinMode(inputPin, INPUT);
attachInterrupt(0,incpulso,RISING);
}

void loop() {
// put your main code here, to run repeatedly:

lcd.clear();
lcd.print(number);

Serial.println(number);
serial1.print(number);

number = cont/150;

delay(500);

}

void incpulso () {

cont++;

}

That code looks nothing like what you described.
It is also missing code tags.

In serial1.print(number), if ‘number’ is 300, for example, android shows 003. If number is 25.4, android shows 5.42.
I tried change ‘number’ to a string, like serial1.print(“apartment”), and android showed “partmenta”

The LCD and the monitor serial show the correct value and both cases. The problem is on android.

That is the blocks I’m using on App Inventor.

The problem is on android.

So, try an Android forum.