简体   繁体   English

将 Java 桌面应用程序连接到 Firebase-analytics

[英]Connecting a Java desktop app to Firebase-analytics

I have three types of clients that work with my server at the moment: Android, Web (Angular) and а Desktop-application written in Java.目前我有三种类型的客户端可以与我的服务器一起使用:Android、Web(Angular)和一个用 Java 编写的桌面应用程序。 There is a need to send events to Firebase-analytics from each client.需要从每个客户端向 Firebase-analytics 发送事件。 I am clear on how to send events from Android and the Web - this is described in the documentation.我很清楚如何从 Android 和 Web 发送事件 - 这在文档中有所描述。 But i can't find the way to send events from desktop-app.但我找不到从桌面应用程序发送事件的方法。 So, i have several questions:所以,我有几个问题:

  1. Is this option possible?这个选项可能吗?

  2. Maybe the answer, is to send events to BigQuery?也许答案是向 BigQuery 发送事件? So, what is the difference between sending events to Firebase-analytics and BigQuery (via the REST API or using client libraries) associated with Firebase-analytics?那么,向与 Firebase-analytics 关联的 Firebase-analytics 和 BigQuery(通过 REST API 或使用客户端库)发送事件有什么区别?

  1. There are only client libraries for web and mobile apps.只有 web 和移动应用程序的客户端库。 Desktop apps are not supported.不支持桌面应用程序。
  2. You could certainly have your desktop app send data to BigQuery, in order to augment existing data from Firebase that you export to it.您当然可以让您的桌面应用程序将数据发送到 BigQuery,以便从您导出到它的 Firebase 中扩充现有数据。 If you do this, you will have to create your own queries to analyze the data - the Firebase console will not be able to see the data you put there directly.如果这样做,您将不得不创建自己的查询来分析数据 - Firebase 控制台将无法看到您直接放在那里的数据。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM