Mit inventor dynamic table from firebase

quesstion
guys,
I am working on an app in MIT App Inventor, and I want to create a dynamic table that displays sensor data stored in Firebase Realtime Database. The table should:

  • Automatically add new rows as data is added to Firebase.
  • Display fields like timestamp, Temperature, Humidity, etc.

guys have any solution?

How often will the new data be created ?

How much data do you want to show in your table, 10,100,1000,100,000+ ?

Will the new tag always be in the format: year-month-data_hour-min-sec, and contain all the sub tags you show ?

1 Like

ill update my historical data every 2 minutes, and maximum 1000 input is enough and yes for all the sub topic need to be included

Does your app need to download data in the background (when you are not using your app, app is closed) or can it catch up when the app is opened again?

1 Like

i will do when the app is open then only catch the data. My situation now maybe is dont know how to do the block diagram. Since all data is completely store to firebase.

Something like this:

image

image

may i know what version table viewer you are using?
thanks

use the latest one will be fine.
make sure it's tableviewer, not tableview.


may i ask why when i insert the tableviewer1 (extension), then my app become empty, the button was gone.

By the way I have try using version 8 and version 9 :smiling_face:

I see a button, and a vertical arrangement ???

based on the block diagram you provided, i saw need to add the button right?


this is my current block diagram.


this is after adding the webviewer1

Why have you added a webviewer ?

(post deleted by author)

do you have any suggestion for me to solve this problem?

i add the web because of block diagram have this
image

  1. You do not need a webviewer component, you do need a Web component
  2. You do not show the init block for the Tableviewer (assigning it to the Vertical Arrangement)

image

1 Like


is it like this?