问题描述
Android Version 11 force Network 3G,4G 请解决此代码。 我正在使用此代码但显示错误。
label
解决方法
试试{ Intent intent = new Intent("android.intent.action.MAIN"); intent.setClassName("com.android.phone","com.android.phone.settings.RadioInfo"); 开始活动(意图); } catch(异常e){ Toast.makeText(getApplicationContext(),"设备不支持",Toast.LENGTH_LONG).show(); }