- 博客(4)
- 资源 (9)
- 收藏
- 关注
转载 eclipse android 绑定 第三方 源代码
今天用一个slf4j-android-1.6.1-RC1.jar 在android行输出日志,我想看他的源码,然后就照常来绑定源码,发现plug-in dependencies which does not allow modifications to source attachments on its entries悲剧了,然后Google了一下,发现别人也有遇到这个问题,解决方
2012-08-25 15:09:51 2207
原创 带有延时的生产者 消费者
最近项目用到了要重新发送数据,看到api中有一个delay queue ,拿过来用一下,做了一个demo。用到了 DelayQueue Delayed,主要是一个 delayed 接口里面的 getDelay的计算import java.util.Calendar;import java.util.UUID;import java.util.concurrent.Dela
2012-08-23 10:57:12 1123 3
原创 sqlite3 not found 安装 sqlite3
在adbshell里面直接更改数据库里面的数据,这样可以是程序中的数据得到里面的反馈,可是,我的android机器居然没有sqlite??准备安装这个东东,Google到一个 相关的问题,感觉挺好的,就在记下来,等以后其他的机器若是没有相关的命令可以有参考资料:(机器是root过的)1、从新挂载/system 目录,因为这个是只读的# mount -o remount,ro -
2012-08-06 16:52:28 1147
原创 BoundedBuffer 之我见
看到java.util.concurrent.locks.*的Condition里面给出了一个例子,是BoundedBuffer,这个例子倒是不是很难,可是说是很经典的一个应用。class BoundedBuffer { final Lock lock = new ReentrantLock(); final Condition notEmpty = lock.newCondition
2012-08-03 09:01:18 2109 1
CaptureActivityTest.rar
2013-04-23
CaptureActivity
2013-04-23
byte_of_python_v192.pdf
2010-12-22
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人