简体   繁体   English

如何通过Android的Cloud Endpoints客户端库连接到非默认版本的App Engine应用程序?

[英]How can I connect to a non-default version of an App Engine app through the Cloud Endpoints client library for Android?

The App Engine backend of my Android app is actually a non-default version of an App Engine project. 我的Android应用程序的App Engine后端实际上是App Engine项目的非默认版本。 However, if I connect to the App Engine backend from Android device through the Cloud Endpoints client library that is auto-generated from the backend, I see that the results retrieved indicate that I get connected to the default version of the App Engine project. 但是,如果我通过从后端自动生成的Cloud Endpoints客户端库从Android设备连接到App Engine后端,则会看到检索到的结果表明我已连接到App Engine项目的默认版本。

How can I make the Android application connect to the non-default version? 如何使Android应用程序连接到非默认版本?

As always, thanks so much for your valuable advice! 与往常一样,非常感谢您的宝贵建议!

我相信您可以在创建端点客户端时通过使用构建器上的setRootUrl方法使用特定于版本的url进行连接?

myEndpointBuilder.setRootUrl("https://<versioned-address>/_ah/api/")

暂无
暂无

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

相关问题 如何通过Google Cloud Endpoints将两个Android应用连接到同一App Engine数据存储区? - How to connect two Android apps through to the same App Engine Datastore through Google Cloud Endpoints? 如何从服务器端(Google App Engine,Cloud Endpoints)向我的客户端发送信息? - How can I send from the server-side (Google App Engine, Cloud Endpoints) the information to my client? Android客户端-使用Google Cloud Endpoints的Google App引擎身份验证 - Android Client - Google App engine authentication using Google Cloud Endpoints 如何在Android Web应用程序中使用非默认字体? - How to use non-default font in Android web app? 通过Cloud Endpoints向App Engine后端与Android App之间传输图像 - Transferring images to/from Android App through Cloud Endpoints to App Engine back-end 使用适用于Google App Engine的Cloud Endpoints对Android App进行本地测试 - Local testing for Android App using Cloud Endpoints for Google App Engine 如何从非默认应用程序发送Android Kitkat中的SMS而无需写入SMS提供程序 - How to send an SMS in Android Kitkat from non-default app without writing to SMS Provider 表情符号字符会破坏Google App Engine和Endpoints库中的文本(Python中的Engine,端点库位于Android上) - Emoji characters destroys text in Google App Engine and Endpoints library (Engine in Python, endpoints library is on Android) Android,GWT和App Engine:云端点与GWT RPC? - Android, GWT & App Engine: Cloud Endpoints vs GWT RPC? 同一Maven项目中的App Engine云端点后端和android - App engine cloud endpoints backend and android in the same maven project
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM