我制作了一款安卓应用https://play.google.com/store/apps/details?id=com.confesco.maggi,它以防火墙为数据库,运行良好,当我使用3G net.The时,我在我们学院的代理下使用它时,它不会连接到database.Is,我可以事先使用这个problem.Thanks。
发布于 2019-04-09 18:57:35
这篇文章似乎认为这是可能的。它应用标准Java代理指令,并为Google应用一个特定指令:
System.setProperty("https.proxyHost", "localhost");
System.setProperty("https.proxyPort", "3128");
System.setProperty("com.google.api.client.should_use_proxy", "true");https://stackoverflow.com/questions/22805368
复制相似问题