[英]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.