Coding the blocks – requesting data

The first code that we need to program is to request data from the Fusion Table. Click on GuestList_Screen in the Blocks drawer and drag the when GuestList_Screen.Initialize event. This event is automatically triggered whenever a screen is launched. We want to request data from the Fusion Table when the GuestList screen is launched. Thus, we will add to this event is the call FusiontablesControl1.GetRows block. This block will let us request data from the Fusion Table. You can find this block in the FusiontablesControl1 blocks drawer. The GetRows block needs two pieces of information to fetch rows from Fusion Tables: the ID of the table and name of the column. We identified the table ID when we were creating ...

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.