问题描述
我需要自定义一个屏幕,用户可以在客户端通知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.
安东看到这个答案:
另请参阅以下问题:
- 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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!