当用户将手机连接到PC或Mac并打开我的应用程序时,我想打开系统USB共享网络活动或此功能。希望有办法让这一切成为现实。提前谢谢你!编辑:

当我选中USB共享网络的复选框时,日志是: Tethering setUsbTehering(True)
发布于 2013-01-08 16:12:37
Intent tetherSettings = new Intent();
tetherSettings.setClassName("com.android.settings", "com.android.settings.TetherSettings");
startActivity(tetherSettings);https://stackoverflow.com/questions/14209435
复制相似问题