android中跳转到系统管理应用程序界面的方法
2011-09-24 09:59
267 查看
在编写android应用程序时,如果需要调用系统原生的管理应用程序界面呢?本人在一个项目中遇到过,本人没有发现这方面现成的intent,不过通过看源代码实现了。
android源代码application_settings.xml
熟悉PreferenceScreen的朋友应该知道如何做了,如果不熟悉的朋友,文章最后贴出一篇文章,大家参考一下就知道了,根据xml的描述,我们可以用如下代码调用系统原生的管理应用程序界面
android设置中的Preferencescreen用法介绍与分析:http://blog.csdn.net/wujiangming/article/details/6218068
调用Android系统“应用程序信息(Application Info)”界面‘
http://blog.csdn.net/ZhengZhiRen/article/details/6159750
android源代码application_settings.xml
<PreferenceScreen android:title="@string/manageapplications_settings_title" android:summary="@string/manageapplications_settings_summary"> <intent android:action="android.intent.action.MAIN" android:targetPackage="com.android.settings" android:targetClass="com.android.settings.ManageApplications" /> </PreferenceScreen>
熟悉PreferenceScreen的朋友应该知道如何做了,如果不熟悉的朋友,文章最后贴出一篇文章,大家参考一下就知道了,根据xml的描述,我们可以用如下代码调用系统原生的管理应用程序界面
Intent intent = new Intent(); intent.setAction("android.intent.action.MAIN"); intent.setClassName("com.android.settings", "com.android.settings.ManageApplications"); startActivity(intent);
android设置中的Preferencescreen用法介绍与分析:http://blog.csdn.net/wujiangming/article/details/6218068
调用Android系统“应用程序信息(Application Info)”界面‘
http://blog.csdn.net/ZhengZhiRen/article/details/6159750
相关文章推荐
- Android中 跳转到系统设置界面方法总结
- Android开发中常用的跳转系统自带界面方法
- Android中跳转到系统一些设置界面的方法
- Android开发中常用的跳转系统自带界面方法
- Android开发中常用的跳转系统自带界面方法
- Android开发中常用的跳转系统自带界面方法
- Android开发中常用的跳转系统自带界面方法
- Android跳转到系统各个设置界面的方法及其列表
- Android开发中常用的跳转系统自带界面方法(ACTION)
- Android跳转到手机系统各个设置界面的方法及其列表
- Android实现intent跳转界面传递数据(2)——onActivityResult方法接收返回值
- 调用Android系统“应用程序信息(Application Info)”界面
- 【黑马Android】(03)学生管理系统/动态刷新界面
- Android 中overridePendingTransition方法的使用,来设置界面跳转的动画
- 从零开始学java 之 DVD的增删改查管理系统(方法,界面,数据库相分离)用IO流写入文件代替数据库
- Android中跳转到系统设置界面大全
- Android中自动跳转到系统设置界面
- 从android应用程序跳转到系统的各个设置页面
- android中进行布局管理界面_二、重写getView方法对按钮进行监听