android - How I can check in my android app that, is microcontroller and firebase are connected or not?
问题描述
I am controlling home appliances through android app, by sending 1 and 0 to firebase to on and off appliance respectively. I am facing an issue that if I operate any appliance through android app by sending 1 or o to firebase but if my controller side is not connected to internet and firebase, then How I can check internet connectivity of controller side ???
I want to check controller connectivity with firebase so that it show me some acknowledgment message in android app that your controller is connected with firebase and task is successful
解决方案
推荐阅读
- flutter - 关于 Flutter 的 Key 有一些地方我不是很了解
- reactjs - 如何编写文档火库
- mysql - How to run mysql scripts in docker image?
- c# - 如何通过带有代理的 HttpClient 执行 traceroute 请求?
- azure-functions - 在我的 UNO WASM 项目中,HTTP POST 调用成为我本地 Azure Functions 上的 HTTP OPTIONS
- git - 在 GitHub 中获取已删除的分支名称
- python - 在 Python 中使用 htmldate 的问题
- google-bigquery - 检索表上的所有标签
- wix - WiX 工具集 - CancelDlg 图标的替代文本
- react-native - React-Native 可拖动列表视图,如 trello 板