android inactive InputConnection
2015-08-12 18:38
393 查看
[code]08-12 18:19:06.482: W/IInputConnectionWrapper(23507): showStatusIcon on inactive InputConnection
这几天开发项目遇到这个warning
查了一下, 应该是 Connection 和 Stream 之类的没有关闭的原因
记得在 finally 里释放资源
[code]HttpURLConnection con = null; try { // some code } catch (Exception e) { e.printStackTrace(); } finally { if (con != null) { con.disconnect(); } }
相关文章推荐
- Android中对日期进行排序
- android_线
- android中获取屏幕的信息
- 使用Genymotion来运行Android Studio开发的程序
- iOS到Android到底有多远
- android 远程服务设计要点
- Windows下部署Appium教程(Android App自动化测试框架搭建)
- Android开发必知--几种不同对话框的实现
- Unable to resolve target 'android-14'
- android 屏幕分辨率总结
- Android获取手机相关信息
- Android获取手机相关信息
- Android 动画效果 及 自定义动画
- Android SDK Manager更新代理配置
- android animation
- android的GPS定位跟踪系统
- 深入浅出 - Android系统移植与平台开发(十)- Android编译系统与定制Android平台系统(瘋耔修改篇二)
- Android自动测试之Monkey工具
- android 中关于String 字符串 format的使用
- 命令行生成android jni头文件方法