尝试:
adb shell am start -n com.android.phone/com.android.phone.NetworkSetting
或更好):
adb shell am start -n com.android.settings/com.android.settings.wifi.WifiSettings
或(也许对你有好处):
adb shell am start -n com.android.phone/com.android.phone.Settings
编辑:
如果你想从代码中打开 wifi 设置页面,这里是一个例子:
import com.myapp.R;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.provider.Settings;
public class MyActivity extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.my_activity_layout);
startActivity(new Intent(Settings.ACTION_WIFI_SETTINGS));
}
}