1、API亮点:
此API可以实现不更换APK,在出问题的手机上就直接能抓到有效log,能提升不少工作效率。
2、API介绍
最近在解决短信问题时,看到一个很强大的LOG开关---Log.isLoggable
1. if (Log.isLoggable(LogTag.TRANSACTION, Log.VERBOSE)) {
2. Log.v(TAG, "Creating Tr...
分类:
移动开发 时间:
2014-10-23 12:35:46
阅读次数:
203
http://www.zvolkov.com/clog/2009/07/09/why-nhibernate-updates-db-on-commit-of-read-only-transaction/Always be careful with NULLable fields whenever yo...
分类:
数据库 时间:
2014-10-23 12:07:34
阅读次数:
272
What is AprioriTID?AprioriTID is an algorithm for discovering frequent itemsets (groups of items appearing frequently) in a transaction database. It w...
分类:
其他好文 时间:
2014-10-22 21:57:42
阅读次数:
242
命令模式命令模式属于对象的行为模式。命令模式又称为行动(Action)模式或交易(Transaction)模式命令模式把一个请求或操作封装到一个对象中。命令模式允许系统使用不同的 请求吧客户端参数化,对请求排队或则记录请求日志,可以提供命令的撤销和恢复功能。命令模式的结构 命令模式是对命令的封装。....
分类:
其他好文 时间:
2014-10-22 21:37:20
阅读次数:
225
The flash is a special part of the session which is cleared with each request. This means that values stored there will only be available in the next ...
分类:
其他好文 时间:
2014-10-22 17:53:44
阅读次数:
217
Windows 7开发:UAC数据重定向 - Win32 Native目标本动手实验中,您将会学习如何:? 故障排除一个文件重定向 问题? 使用Process Monitor查找引起问题的根本原因系统要求您必须符合下面的条件以完成这次实验:? Microsoft Visual Studio 20.....
今天一大早打开ADT准备编译android工程的时候,突然发现windows菜单下的Android SDK Manager和Android Virtual Device Manager选项不见了。因为我昨天把一个android工程转换为了C/C++工程,就莫名其妙出了这个问题。 在网上搜了一下,找到了解决方案:
在ADT中点击window→Customize Perspective→Command Groups availability→Available comm...
分类:
移动开发 时间:
2014-10-22 10:09:38
阅读次数:
416
数据库备份 /data/mysql/bin/mysqldump -hlocalhost -u'root' -p'do' my_db --single-transaction -q | gzip > my_db.sql.gz find '/home/yourname/backup/mysql' -na...
分类:
数据库 时间:
2014-10-21 21:18:20
阅读次数:
264
用给自己记录用defmonitor_work_1(content):dict_1={‘service‘:‘rdc_monitor‘,‘checkpoint‘:‘rdc_monitor_log‘,‘title‘:content,‘content‘:content,‘cluster‘:‘public‘,‘grade‘:‘2‘}params=urllib.urlencode(dict_1)urllib.urlopen(‘http://alert.sae.sina.com.cn/new/‘,params)
分类:
Web程序 时间:
2014-10-21 19:49:41
阅读次数:
168
1. 常见错误
error(-38, 0)
我认为-38表示在当前的MediaPlayer状态下,不能执行你的操作。
具体如何做请参考:Android MediaPlayer
另外我在其他资料中,发现有人认为-38定义在:pvmf_return_codes.h文件中:
-38: DRM clock is not available or cannot be read
0: Retu...
分类:
移动开发 时间:
2014-10-21 15:29:14
阅读次数:
360