IBM Worklight - 如何动态更改worklight服务器的URL [英] IBM Worklight - How to change the url of the worklight server dynamically

查看:127
本文介绍了IBM Worklight - 如何动态更改worklight服务器的URL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要自定义一个屏幕,用户可以在客户端通知worklight服务器ip。
我可以动态更改网址连接吗?
我知道按下android中的菜单按钮,可以选择通知网址,但我想要自定义屏幕。

I need to customize a screen where the user can inform the worklight server ip in client-side. I can change the url connection dynamically? I know that pressing the menu button in android, there is the option of informing the url, but i want custom screen.

推荐答案

从技术上讲,可以更改应用程序连接到的Worklight Server URL,但事情可能并且可能会出错,IBM Worklight绝对不支持。

Technically speaking it is possible to change the Worklight Server URL that the application connects to, but things can and likely will go wrong and it is absolutely not supported by IBM Worklight.

至于为它创建一些用户界面,那就在你身上。

As for creating some UI for it, that's on you.

安东看到这个答案:通过不同的方式将一些WL.Client适配器调用流量重新路由/转移到WL服务器URL(用于PCI支付和安全要求)?

另请参阅以下问题:

  • IBM Worklight - How to use Custom Server URL?
  • IBM Worklight - How to customize an app after creating its .api/.apk?
  • Worklight Apps pointing to different Worklight Servers

这篇关于IBM Worklight - 如何动态更改worklight服务器的URL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆