import android.net.Proxy;
String hostname = Proxy.getHost(this.mContext);
int port = Proxy.getPort(this.mContext);
// 又は、 String hostname = Settings.Secure.getString( getContentResolver(), Settings.Secure.HTTP_PROXY);
HttpHost proxy = new HttpHost(hostname, port);
httpclient.getParams().setParameter(ConnRoutePNames.DEFAULT_PROXY,proxy);
2014年4月2日水曜日
登録:
コメントの投稿 (Atom)
Let'sEncryptのSSL証明書
sudo dnf install epel-release -y sudo dnf install certbot python3-certbot-nginx -y certbot --nginx -d office.dom.mydns.jp -d link.dom.mydns....
-
■Rocky Linux8 ORACLE RPM インストール # curl -o oracle-database-preinstall-19c-1.0-2.el8.x86_64.rpm https://yum.oracle.com/repo/OracleLinux/OL8/ap...
-
$ alias sqlplus='rlwrap -pRed -if /usr/local/opt/rlwrap-extensions/sqlplus sqlplus64' $ sqlplus user/password@192.168.1.xxx:1521/sid...
-
【タイムゾーンと日本語】 $ sudo timedatectl set-timezone Asia/Tokyo $ sudo timedatectl $ sudo localectl set-locale LANG=ja_JP.utf8 $ sudo localectl 【プロキ...
0 件のコメント:
コメントを投稿