简体   繁体   English

如何将数据从 Firebase 发送到 Android/iOS 应用程序和 Python

[英]How to send data from Firebase to Android/iOS Application and Python

I am currently developing an Android and iOS application that uses Machine Learning.我目前正在开发一个使用机器学习的 Android 和 iOS 应用程序。 This app sends data from the mobile application to the server(most probably Firebase).此应用程序将数据从移动应用程序发送到服务器(很可能是 Firebase)。 Meanwhile, the machine learning model would be pre-trained using Python.同时,机器学习模型将使用 Python 进行预训练。

In order for this application to work, the data sent from the mobile app should be sent to Python from the server.为了让这个应用程序工作,从移动应用程序发送的数据应该从服务器发送到 Python。 After the data goes into the pre-trained model, a specific output would be produced and the output would be sent back to the mobile app.数据进入预训练模型后,将产生特定输出,并将输出发送回移动应用程序。 However, there would be a huge memory usage as Python should be infinitely run to retrieve the updated data from Firebase.但是,由于 Python 应该无限运行以从 Firebase 检索更新的数据,因此会占用大量内存。

Is it possible to send data from Firebase to Python and mobile applications once data has been updated in the Firebase?一旦 Firebase 中的数据更新,是否可以将数据从 Firebase 发送到 Python 和移动应用程序? If it is not possible in Firebase, are there any other servers that can implement this function?如果在 Firebase 中无法实现,是否还有其他服务器可以实现此功能?

Thank you.谢谢你。

Is it possible to send data from Firebase to Python and mobile applications once data has been updated in the Firebase?一旦 Firebase 中的数据更新,是否可以将数据从 Firebase 发送到 Python 和移动应用程序?

Yes it is possible you have to set up Firebase Admin SDK, check documentation here .是的,您可能必须设置 Firebase Admin SDK,请在此处查看文档。

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

相关问题 如何将数据从Python发送到Android App - How to send data from Python to Android App 如何将数据从android应用程序(客户端)发送到python flask(后端)远程服务器 - How to send data from an android application (client) to a python flask (backend) remote server 如何在 Firebase 中使用 Python SDK 为 Android 发送应用内通知 | iOS - How to send In-APP Notification in Firebase using Python SDK for Android | iOS 如何在windows中使用Socket发送消息From Android to python application - How to send message From Android to python application in windows using Socket 如何将文件数据从android发送到python? - how can i send file data from android to python? 如何将数据从android设备发送到python网站 - how to send data from android device to python website 如何通过python将数据文件发送到应用程序 - How to send data file into an application through python 如何使用AppEngine Python通过Firebase Cloud Messaging将通知发送到Android应用程序 - How to send Notifications to Android App with Firebase Cloud Messaging with AppEngine Python 如何使用 Python 从 Firebase 检索数据? - How to retrieve data from Firebase using Python? 如何使用Python从Firebase检索数据 - How to Retrieve Data from Firebase using Python
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM