6
6

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

【Android】APN, 優先ネットワークを設定するadbコマンド

Last updated at Posted at 2015-03-10

APN, 優先ネットワークを設定するadbコマンドのメモ
下記コマンドを実行するには端末をごにょごにょする必要アリ

APNの追加

APNを追加するには,下記のadbコマンドを叩く.

adb shell am start com.android.settings/.CdmaApnSettings

するとAPNの設定画面に移動するので,メニューから『新しいAPN』を選択.
例えばmoperaのAPNを設定したい場合,APNをmopera.netにする.名前は適当でOK.
moperaの場合は,その他の設定もデフォルトでOK.
ちなみにIIJmioのAPNにしたければ,次のように設定する.

APN:iijmio.jp
ユーザ名:mio@iij
パス:iij
認証タイプ:PAPまたはCHAP

優先ネットワークを設定

優先ネットワークを設定を設定したい場合,下記のadbコマンドを叩く.

adb shell am start com.android.settings/.TestingSettings

すると端末がテストモードという状態になるので,『携帯電話情報』を選択し,『優先ネットワークタイプを設定』からLTE Onlyなど,好きなネットワークタイプを選ぶ.

6
6
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
6
6

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?