Building Mobile Enterprise Applications : Using webMethods Mobile Designer : Setting Up the Android Platform : Using the Android Emulator with a Proxy Server
Using the Android Emulator with a Proxy Server
If the Android emulator must access the Internet through a proxy server, you must specify the proxy server to use.
Proxy Information to Provide
To provide proxy server information, use one of the following formats based on whether authentication is required for the proxy server:
*If user authentication is not required, use:

proxyMachineName:port
*If user authentication is required, use:

username:password@proxyMachineName:port
Specifying the Proxy Information
You can specify the proxy server by either providing the proxy information when starting the emulator or by defining an environment variable.
*To specify the proxy server when starting the emulator, start the Android Emulator using the -http-proxy proxy option, where proxy is the proxy information using one of the formats described above.
*To specify using an environment variable, set the http_proxy to the value you want to use for proxy , where proxy is the proxy information using one of the formats described above.
The Android emulator checks the value of the http_proxy environment variable when it starts up and uses the value if one is defined.
Note:  
Launching the Android emulator with the -verbose flag displays the current host name and port used for the proxy.
Copyright © 2007-2017 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback