iT邦幫忙

0

app inventor 如何讀取firebase database

目前我是將微動按鈕的狀態上傳到google firebase上
當按下按鈕時狀態為1;放開按鈕則為0

我想要在app上可以判斷按鈕的狀態,預設為0,當按下按鈕變為1則跳出對話視窗
app inventor的程式在下圖
用好之後在手機上測試都沒有任何反應
請問是哪邊需要做修改呢?

https://ithelp.ithome.com.tw/upload/images/20200811/20129134PLdkwVEWW1.png

下圖是firebase的狀態

https://ithelp.ithome.com.tw/upload/images/20200811/20129134YmQgbTo3pq.jpg

圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友回答

立即登入回答