Android 调用拨号盘拨打电话
<code class="hljs cs has-numbering"><span class="hljs-keyword">public</span> <span class="hljs-keyword">void</span> <span class="hljs-title">dialPhoneNumber</span>(String phoneNumber) {
Intent intent = <span class="hljs-keyword">new</span> Intent(Intent.ACTION_DIAL);
intent.setData(Uri.parse(<span class="hljs-string">"tel:"</span> + phoneNumber));
<span class="hljs-keyword">if</span> (intent.resolveActivity(getPackageManager()) != <span class="hljs-keyword">null</span>) {
startActivity(intent);
}
}</code>
android 跳转系统设置界面
<code class="hljs cs has-numbering"><span class="hljs-keyword">private</span> <span class="hljs-keyword">void</span> <span class="hljs-title">tell</span>() {
Intent intent = <span class="hljs-keyword">new</span> Intent(<span class="hljs-string">"/"</span>);
ComponentName cm = <span class="hljs-keyword">new</span> ComponentName(<span class="hljs-string">"com.android.settings"</span>,
<span class="hljs-string">"com.android.settings.RadioInfo"</span>);
intent.setComponent(cm);
intent.setAction(<span class="hljs-string">"android.intent.action.VIEW"</span>);
startActivity(intent);
}</code>
其他设置界面变量
<code class="hljs avrasm has-numbering"><span class="hljs-keyword">com</span><span class="hljs-preprocessor">.android</span><span class="hljs-preprocessor">.settings</span><span class="hljs-preprocessor">.AccessibilitySettings</span> 辅助功能设置http://blog.csdn.net/aikongmeng/article/details/44748841
<span class="hljs-keyword">com</span><span class="hljs-preprocessor">.android</span><span class="hljs-preprocessor">.settings</span><span class="hljs-preprocessor">.ActivityPicker</span> 选择活动
<span class="hljs-keyword">com</span><span class="hljs-preprocessor">.android</span><span class="hljs-preprocessor">.settings</span><span class="hljs-preprocessor">.ApnSettings</span> APN设置
<span class="hljs-keyword">com</span><span class="hljs-preprocessor">.android</span><span class="hljs-preprocessor">.settings</span><span class="hljs-preprocessor">.ApplicationSettings</span> 应用程序设置
<span class="hljs-keyword">com</span><span class="hljs-preprocessor">.android</span><span class="hljs-preprocessor">.settings</span><span class="hljs-preprocessor">.BandMode</span> 设置GSM/UMTS波段
<span class="hljs-keyword">com</span><span class="hljs-preprocessor">.android</span><span class="hljs-preprocessor">.settings</span><span class="hljs-preprocessor">.BatteryInfo</span> 电池信息
<span class="hljs-keyword">com</span><span class="hljs-preprocessor">.android</span><span class="hljs-preprocessor">.settings</span><span class="hljs-preprocessor">.DateTimeSettings</span> 日期和坝上旅游网时间设置
<span class="hljs-keyword">com</span><span class="hljs-preprocessor">.android</span><span class="hljs-preprocessor">.settings</span><span class="hljs-preprocessor">.DateTimeSettingsSetupWizard</span> 日期和时间设置
<span class="hljs-keyword">com</span><span class="hljs-preprocessor">.android</span><span class="hljs-preprocessor">.settings</span><span class="hljs-preprocessor">.DevelopmentSettings</span> 应用程序设置=》开发设置
<span class="hljs-keyword">com</span><span class="hljs-preprocessor">.android</span><span class="hljs-preprocessor">.settings</span><span class="hljs-preprocessor">.DeviceAdminSettings</span> 设备管理器
<span class="hljs-keyword">com</span><span class="hljs-preprocessor">.android</span><span class="hljs-preprocessor">.settings</span><span class="hljs-preprocessor">.DeviceInfoSettings</span> 关于手机
<span class="hljs-keyword">com</span><span class="hljs-preprocessor">.android</span><span class="hljs-preprocessor">.settings</span><span class="hljs-preprocessor">.Display</span> 显示——设置显示字体大小及预览
<span class="hljs-keyword">com</span><span class="hljs-preprocessor">.android</span><span class="hljs-preprocessor">.settings</span><span class="hljs-preprocessor">.DisplaySettings</span> 显示设置
<span class="hljs-keyword">com</span><span class="hljs-preprocessor">.android</span><span class="hljs-preprocessor">.settings</span><span class="hljs-preprocessor">.DockSettings</span> 底座设置
<span class="hljs-keyword">com</span><span class="hljs-preprocessor">.android</span><span class="hljs-preprocessor">.settings</span><span class="hljs-preprocessor">.IccLockSettings</span> SIM卡锁定设置
<span class="hljs-keyword">com</span><span class="hljs-preprocessor">.android</span><span class="hljs-preprocessor">.settings</span><span class="hljs-preprocessor">.InstalledAppDetails</span> 语言和键盘设置
<span class="hljs-keyword">com</span><span class="hljs-preprocessor">.android</span><span class="hljs-preprocessor">.settings</span><span class="hljs-preprocessor">.LanguageSettings</span> 语言和键盘设置
<span class="hljs-keyword">com</span><span class="hljs-preprocessor">.android</span><span class="hljs-preprocessor">.settings</span><span class="hljs-preprocessor">.LocalePicker</span> 选择手机语言
<span class="hljs-keyword">com</span><span class="hljs-preprocessor">.android</span><span class="hljs-preprocessor">.settings</span><span class="hljs-preprocessor">.LocalePickerInSetupWizard</span> 选择手机语言
<span class="hljs-keyword">com</span><span class="hljs-preprocessor">.android</span><span class="hljs-preprocessor">.settings</span><span class="hljs-preprocessor">.ManageApplications</span> 已下载(安装)软件列表
<span class="hljs-keyword">com</span><span class="hljs-preprocessor">.android</span><span class="hljs-preprocessor">.settings</span><span class="hljs-preprocessor">.MasterClear</span> 恢复出厂设置
<span class="hljs-keyword">com</span><span class="hljs-preprocessor">.android</span><span class="hljs-preprocessor">.settings</span><span class="hljs-preprocessor">.MediaFormat</span> 格式化手机闪存
<span class="hljs-keyword">com</span><span class="hljs-preprocessor">.android</span><span class="hljs-preprocessor">.settings</span><span class="hljs-preprocessor">.PhysicalKeyboardSettings</span> 设置键盘
<span class="hljs-keyword">com</span><span class="hljs-preprocessor">.android</span><span class="hljs-preprocessor">.settings</span><span class="hljs-preprocessor">.PrivacySettings</span> 隐私设置
<span class="hljs-keyword">com</span><span class="hljs-preprocessor">.android</span><span class="hljs-preprocessor">.settings</span><span class="hljs-preprocessor">.ProxySelector</span> 代理设置
<span class="hljs-keyword">com</span><span class="hljs-preprocessor">.android</span><span class="hljs-preprocessor">.settings</span><span class="hljs-preprocessor">.RadioInfo</span> 手机信息
<span class="hljs-keyword">com</span><span class="hljs-preprocessor">.android</span><span class="hljs-preprocessor">.settings</span><span class="hljs-preprocessor">.RunningServices</span> 正在运行的程序(服务)
<span class="hljs-keyword">com</span><span class="hljs-preprocessor">.android</span><span class="hljs-preprocessor">.settings</span><span class="hljs-preprocessor">.SecuritySettings</span> 位置和安全设置
<span class="hljs-keyword">com</span><span class="hljs-preprocessor">.android</span><span class="hljs-preprocessor">.settings</span><span class="hljs-preprocessor">.Settings</span> 系统设置
<span class="hljs-keyword">com</span><span class="hljs-preprocessor">.android</span><span class="hljs-preprocessor">.settings</span><span class="hljs-preprocessor">.SettingsSafetyLegalActivity</span> 安全信息
<span class="hljs-keyword">com</span><span class="hljs-preprocessor">.android</span><span class="hljs-preprocessor">.settings</span><span class="hljs-preprocessor">.SoundSettings</span> 声音设置
<span class="hljs-keyword">com</span><span class="hljs-preprocessor">.android</span><span class="hljs-preprocessor">.settings</span><span class="hljs-preprocessor">.TestingSettings</span> 测试——显示手机信息、电池信息、使用情况统计、Wifi information、服务信息
<span class="hljs-keyword">com</span><span class="hljs-preprocessor">.android</span><span class="hljs-preprocessor">.settings</span><span class="hljs-preprocessor">.TetherSettings</span> 绑定与便携式热点
<span class="hljs-keyword">com</span><span class="hljs-preprocessor">.android</span><span class="hljs-preprocessor">.settings</span><span class="hljs-preprocessor">.TextToSpeechSettings</span> 文字转语音设置
<span class="hljs-keyword">com</span><span class="hljs-preprocessor">.android</span><span class="hljs-preprocessor">.settings</span><span class="hljs-preprocessor">.UsageStats</span> 使用情况统计
<span class="hljs-keyword">com</span><span class="hljs-preprocessor">.android</span><span class="hljs-preprocessor">.settings</span><span class="hljs-preprocessor">.UserDictionarySettings</span> 用户词典
<span class="hljs-keyword">com</span><span class="hljs-preprocessor">.android</span><span class="hljs-preprocessor">.settings</span><span class="hljs-preprocessor">.VoiceInputOutputSettings</span> 语音输入与输出设置
<span class="hljs-keyword">com</span><span class="hljs-preprocessor">.android</span><span class="hljs-preprocessor">.settings</span><span class="hljs-preprocessor">.WirelessSettings</span> 无线和网络设置</code>