用Preferences,通过xml文件跳转到另一个Activity
16lz
2021-01-25
我亲自没有测试过 但是看到发布的人测试过 原文地址:[url] http://groups.google.com/group/android-developers/browse_thread/thread/8ea1145c3c8b9c0b[/url]
直接上代码
直接上代码
<Preference android:title="Internal activity"android:summary="This will launch internal activity"><intent android:action="android.intent.action.MAIN"android:targetPackage="com.doll.demo" android:targetClass="com.doll.demo.MyInternalActivity"android:data="mydata" /></Preference>
更多相关文章
- 没有一行代码,「2020 新冠肺炎记忆」这个项目却登上了 GitHub 中
- Android(安卓)后台静默安装
- Android(安卓)Plugins
- Android中使用Sonar进行代码质量分析
- 安卓逆向_22 --- 使用渗透测试框架 Xposed 框架 hook 调试 Andro
- Android解析自定义xml文件--Pull解析xml文件,测试demo(方案三)
- android recovery 系统代码分析【精】
- Eclipse集成Android(安卓)NDK开发环境
- andriod 源码树