Android 在一个程序中启动另一个程序

来源:互联网 发布:teambition for mac 编辑:程序博客网 时间:2024/05/17 06:23

Intent intent = new Intent();
      intent.setComponent(new ComponentName("com.android.settings",
      "com.android.settings.Settings"));
      startActivity(intent);

跳到设置界面

Intent intent = new Intent();

      intent.setComponent(new ComponentName("com.android.settings",
      "com.android.settings.WirelessSettings"));

      startActivity(intent);

跳到WIFI设置界面

原创粉丝点击