see here how to receive something correctly
--
A very good way to learn App Inventor is to read the free Inventor's Manual here in the AI2 free online eBook http://www.appinventor.org/b ook2 ... the links are at the bottom of the Web page. The book 'teaches' users how to program with AI2 blocks.
There is a free programming course here http://www.appinventor.or g/content/CourseInABox/Intro and the aia files for the projects in the book are here: http://www.appinventor.org/bo okFiles
How to do a lot of basic things with App Inventor are described here: http://www.appinventor.org/co ntent/howDoYou/eventHandling .
Also do the tutorials http://appinventor.mit.edu/ explore/ai2/tutorials.html to learn the basics of App Inventor, then try something and follow the
Top 5 Tips: How to learn App Inventor
You will not find a tutorial, which does exactly what you are looking for. But doing the tutorials (not only reading a little bit) help you to understand, how things are working. This is important and this is the first step to do.
Taifun
If you want all the HOLAs to appear in column 1,
--
add a \n to the JOIN block.
If you want to show only the last Hola in Label5,
change your blocks to:
(timer)
If connected then
if bytes available > 0 then
set label5.text to btclient.readbytes(bytes available)
(end timer)
ABG
Sorry, it doesn't work! I only want to receive some text in the same position, I want the new text
to stay in the same place of the previous one.
Thank you very much
--
your blocks look fine
the new received text will now replace the old text, which previously was displayed in label5
the new received text will now replace the old text, which previously was displayed in label5
Taifun
--
Change the >= test to the more strict >
--
otherwise you will lose the nonblank input immediately.
ABG
I change the >= to > more strict and I receive the same.
I don't know why it doesn't clean the old 'HOLA' for the new one, and staay in the same place.
Other options????'
thanks!
I see two complications.
--
You have two timers.
You are in Screen2.
Simplify.
ABG
댓글 없음:
댓글 쓰기