10 2015 档案

摘要:reference to : http://www.infoq.com/cn/articles/android-accessibility-installing?utm_campaign=infoq_content&utm_source=infoq&utm_medium=feed&utm_term=... 阅读全文
posted @ 2015-10-27 21:05 demoblog 阅读(2754) 评论(0) 推荐(0) 编辑
摘要:reference to : http://blog.csdn.net/yihongyuelan/article/details/40977323概况 Android在4.3的版本中(即API 18)加入了NotificationListenerService,根据SDK的描述(AndroidD... 阅读全文
posted @ 2015-10-27 16:31 demoblog 阅读(3637) 评论(0) 推荐(0) 编辑
摘要:reference : http://blog.chinaunix.net/uid-20732478-id-763411.html使用了VIM这么久,却一直无法牢记一些基本的操作指令。今天查找一个关键字时,想不起来怎么查找“下一个”,于是google之并解决,顺便把有用的都贴过来罢。查找指令:/xx... 阅读全文
posted @ 2015-10-27 11:26 demoblog 阅读(7805) 评论(0) 推荐(1) 编辑
摘要:1: startService -------stopService (this will call onDestroy)2: bindService -------unbindService (this will call onDestroy)3: startService---bindServ... 阅读全文
posted @ 2015-10-26 20:01 demoblog 阅读(400) 评论(0) 推荐(0) 编辑
摘要:1: AVTest CPU计算方法读取每个进程的 stat 文件 (/proc//stat)计算采样间隔10min下utime的差值minusUtime,stime的差值minusUtime,例如: 初始值Proc 1: utime=110 stime=200Proc 2: utime=400 st... 阅读全文
posted @ 2015-10-21 19:37 demoblog 阅读(1236) 评论(0) 推荐(0) 编辑
摘要:reference : http://bbs.gfan.com/android-8001827-1-1.html2. 刷机和刷入recovery 建议参考 置顶教程: 【15年3月31日更新】Nexus 5 一键刷机教程,刷机一键搞定3. Root首先需要下载以下几个文件:TWRP recovery... 阅读全文
posted @ 2015-10-16 18:15 demoblog 阅读(1803) 评论(0) 推荐(0) 编辑
摘要:Intent intent = packageManager.getLaunchIntentForPackage(WEIXIN_PKGNAME);intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TO... 阅读全文
posted @ 2015-10-10 21:15 demoblog 阅读(296) 评论(0) 推荐(0) 编辑
摘要:reference : http://stackoverflow.com/questions/24590533/how-to-get-recent-tasks-on-android-l/26885469#26885469String topPackageName ;if(Build.VERSION.... 阅读全文
posted @ 2015-10-09 21:53 demoblog 阅读(553) 评论(0) 推荐(0) 编辑
摘要:overide FragmentActivity onSaveInstanceState method like this. @Override public void onSaveInstanceState(Bundle outState) { super.onSaveIns... 阅读全文
posted @ 2015-10-09 11:31 demoblog 阅读(3603) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示