[安卓]安卓开发中遇到的问题
1、打开wifiap卡死,在eclipse的debug窗口中出现getWifiApEnabledState securityexception:
解答:这是由于权限不够,在AndroidManifest.xml中添加:
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"></uses-permission>
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE"></uses-permission>
http://www.th7.cn/Program/Android/201306/139137.shtml
2、http://blog.csdn.net/windskier/article/details/6957901(android的窗口机制分析------ViewRoot类)