简体   繁体   English

无法将 Google firebase 与 MIT App Inventor 连接

[英]Unable to connect Google firebase with MIT App Inventor

I am making this alcohol detector project for my college where I have created an app using MIT app inventor for the purpose of displaying the alcohol level, status of the driver(drunk or sober) and sharing the location.我正在为我的大学制作这个酒精检测器项目,在那里我使用麻省理工学院的应用程序发明者创建了一个应用程序,用于显示酒精含量、驾驶员状态(醉酒或清醒)并共享位置。

The location sharing part is working fine.位置共享部分工作正常。 The value of alcohol level and status is also changing in the firebase, according to the input.根据输入,酒精度和状态的值也在 firebase 中发生变化。 But, I cannot connect the firebase with app inventor and that's why the app is not displaying the alcohol level and status.但是,我无法将 firebase 与应用程序发明者连接,这就是该应用程序不显示酒精含量和状态的原因。

I have copied the URL and firebase token properly, still unable to resolve the problem.我把URL和firebase token都复制好了,还是无法解决问题。

This is the first screen which is supposed to display the parameters:这是应该显示参数的第一个屏幕:

This is the firebase which I am trying to connect:这是我要连接的 firebase:

Keep this current code.保留当前代码。 use one button and on that button click call the get firebase tag method.使用一个按钮并在该按钮上单击调用获取 firebase 标记方法。 and then copy all the code that you have added in the data change method and add that code to got value method also.然后复制您在数据更改方法中添加的所有代码,并将该代码也添加到获取值方法中。 this will work.这将工作。 or watch this one https://youtu.be/ES26E4r_uEU或观看这个https://youtu.be/ES26E4r_uEU

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在 MIT App Inventor 的列表中显示 firebase 数据? - How to display firebase data in a list in MIT App Inventor? 尝试将 Google Play 应用程序连接到 Firebase,但得到“未找到匹配的 Play 应用程序” - Trying to connect Google Play app to Firebase, but get "No matching Play apps found" Android 应用程序未连接到 Firebase - Android app does not connect to Firebase 无法使用 exec 连接到 firebase 仿真器套件 - Unable to connect to firebase emulator suite with exec 无法在Flutter项目的Android模拟器中连接Firebase - Unable to connect Firebase in Android Emulator for Flutter Project 我正在尝试将 firebase 云消息连接到 android 应用程序。 应用未加载错误“找不到 com.google.firbase:firebase-core:17.0.1”。 - i am trying to connect firebase cloud messaging to android app. app is not loading the error "Could not find com.google.firbase:firebase-core:17.0.1." 无法使用 python 3.72 连接 firebase - unable to connect firebase using python 3.72 无法为 firebase 中的 bigquery 链接启用谷歌分析 - Unable to enable google analytics for bigquery linking in firebase 谷歌云运行无法连接MQTT - Google cloud run unable to connect MQTT 无法将 PostgreSQL(pgAdmin 4) 连接到 Google Cloud Platform - Unable to connect PostgreSQL(pgAdmin 4) to the Google Cloud Platform
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM