start com.android.settings/com.android.settings.SubSettings activity
来源:互联网 发布:如何选笔记本电脑 知乎 编辑:程序博客网 时间:2024/05/29 09:47
1. get class name:
adb shell
shell@android:/mnt/sdcard/books $ dumpsys window windows >dump.txt
grep "focus"
mFocusedApp=AppWindowToken{420a5df8 token=Token{420a5c00 ActivityRecord{420a5ac8 com.android.settings/.SubSettings}}}
mInputMethodTarget=Window{420fc320 com.android.settings/com.android.settings.SubSettings paused=false}
or
adb shell "dumpsys window windows | grep -E 'mCurrentFocus|mFocusedApp'"
http://stackoverflow.com/questions/11201659/whats-android-adb-shell-dumpsys-tool-and-its-benefits
http://www.cnblogs.com/jiangz/p/3330245.html
2. start activity
Intent intent=new Intent("/");
ComponentName cn=new ComponentName("com.android.settings", "com.android.settings.profile.ProfileSettings");
// ComponentName cn=new ComponentName("com.android.settings", ".profile.ProfileSettings");
intent.setComponent(cn);
startActivityForResult(intent, 1);
- start com.android.settings/com.android.settings.SubSettings activity
- Unable to find explicit activity class {com.android.settings/com.android.settings.WirelessSettings}
- android settings---------Settings.java
- Android Settings
- android - Settings
- Android - Failed to find provider info for com.google.settings in MapView Example
- android4.0 中设置网络出错com.android.settings.WirelessSettings没有在AndroidManifest.xml中声明
- android4.0 中设置网络出错com.android.settings.WirelessSettings没有在AndroidManifest.xml中声明
- android4.0 中设置网络出错com.android.settings.WirelessSettings没有在AndroidManifest.xml中声明
- java.lang.SecurityException: Package com.android.settings does not belong to 1001
- android4.0 中设置网络出错com.android.settings.WirelessSettings没有在AndroidManifest.xml中声明
- Error:Unknown host 'android.oa.com'. You may need to adjust the proxy settings in Gradle.
- Unknown host 'android.oa.com'. You may need to adjust the proxy settings in Gradle.
- Unknown host 'android.oa.com'. You may need to adjust the proxy settings in Gradle.
- start settings activity of the system
- Android问题1: Unable to start activity ComponentInfo{com.example.demo/com.example.demo
- android Settings项目建立
- android Settings项目安装
- Java常用工具类五 -- 文件处理相关
- 51系列中data,idata,xdata,pdata的区别
- 验证是否为数字
- 初级程序员的苦逼日子
- Bootstrap+Knockout.JS+ASP.Net MVC3+PetaPOCO实现CRUD操作
- start com.android.settings/com.android.settings.SubSettings activity
- MQTT协议的简单介绍和服务器的安装
- UVa10746 Crime Wave - The Sequel
- JTAG
- POJ 3259 Wormholes Bellman题解
- 淘宝商城效果展示
- 基于移动终端的增强现实技术方案(已实现)
- Ngnix中的fastcgi参数性能优化和解释
- Java工具类六 -- 其它类型