Android Question Printing integer

MohMor

Member
Hello
In c# we print. Number like the following:
Console.write($"{a}")
Where -a- us a number . How can I do that in B4A? For example I want to send a lot of number using textwriter to a Bluetooth module.
Thanks a lot
 

MohMor

Member
i dont know why you said i should not use TextWriter. i think i should clarify my question.for example i want to contorl the color of a RGB common cathode led. but in the following image, the code for button red works but the code for seekbar does not work. we send data to module by the TextWriter. i dont understand your code:
Dim s As String = YourIntVariable
astream.WriteBytes(s.GetBytes("UTF8"))
what should i do then?
 

Attachments

  • Untitled-1.jpg
    Untitled-1.jpg
    190.2 KB · Views: 160
Upvote 0
Top