如何在 Cordova 项目中包含 Google App Engine 端点?

How to include Google App Engine Endpoints in a Cordova project?

大家好,我是 Cordova 的新手,现在我已经使用 Google 数据存储开发了一个 Web 应用程序,但现在我想在我的 cordova 项目中使用相同的端点库。我已经生成了我的 Endpoints SNAPSHOT.jar 文件,接下来我该如何继续?请帮我解决这个问题。

Endpoints makes it easier to create a web backend for web clients and mobile clients such as Android or Apple's iOS.

由于 Cordova 主要使用 JavaScript 并且基本上可以充当网络客户端,因此您可以使用 Endpoint's JavaScript Client library 直接从您的应用程序直接 API 调用您的端点,而无需需要添加 .jar 文件。