Intent intent=new Intent(Settings.ACTION_DATA_ROAMING_SETTINGS); ComponentName cName = new ComponentName(“com.android.phone”,”com.android.phone.Settings”); intent.setComponent(cName); startActivity(intent);
<activity android:name="Settings$DataUsageSummaryActivity" android:label="@string/data_usage_summary_title" android:configChanges="orientation|keyboardHidden|screenSize|mcc|mnc" android:taskAffinity="" android:excludeFromRecents="true"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.DEFAULT" /> <category android:name="com.android.settings.SHORTCUT" /> </intent-filter> <meta-data android:name="com.android.settings.FRAGMENT_CLASS" android:value="com.android.settings.DataUsageSummary" /> <meta-data android:name="com.android.settings.TOP_LEVEL_HEADER_ID" android:resource="@id/data_usage_settings" /> </activity>
80,351
社区成员
91,288
社区内容
加载中
试试用AI创作助手写篇文章吧