Coding the blocks – receiving data

The previous blocks request in data from the Fusion Table, now we need to code receiving the information from the Fusion Table. The when FusiontablesControl1.GotResult block does this. You will find it in the FusiontablesControl1 blocks. As we mentioned before, when data from Fusion Tables is received, this event gets triggered. The data is placed in the result variable of this event.

By default, the data we receive from the Fusion Table is a block of text with each row placed on its own line. This data also includes the column header. So, let's say the Guest Names column of our Fusion Table has three rows with the names Olivienne, Dash, and Eva. Then the data that is placed in the result variable has four lines—Guest ...

Get App Inventor 2 Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.