Skip to Content
App Inventor 2 Essentials
book

App Inventor 2 Essentials

by Felicia Kamriani, Krishnendu Roy
April 2016
Beginner
248 pages
5h 56m
English
Packt Publishing
Content preview from App Inventor 2 Essentials

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 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

App Inventor 2, 2nd Edition

App Inventor 2, 2nd Edition

David Wolber, Hal Abelson, Ellen Spertus, Liz Looney
App Inventor

App Inventor

David Wolber, Hal Abelson, Ellen Spertus, Liz Looney
Hello App Inventor!

Hello App Inventor!

Carl Simmons, Paula Beer

Publisher Resources

ISBN: 9781785281105