- 博客(4)
- 资源 (1)
- 收藏
- 关注
翻译 android加载网络上的图片-使用SmartImageView
来自《Android移动应用基础教程》 使用开源项目SmartImageView可以很方便的加载网络上的图片。 1.下载SmartImageView项目,https://github.com/loopj/android-smart-image-view。将src文件夹下面的源代码拷贝到android工程中(或者引入)。 2.在xml文件中添加SmartImageView控件
2017-12-30 22:39:02
736
翻译 android使用AsyncHttpClient开源项目进行异步网络请求
来自《Android移动应用基础教程》里面 1. 到githup上面下载AsyncHttpClient源代码,https://github.com/loopj/android-async-http 我下载的是android-async-http-master.zip,解压后就得到了AsyncHttpClient的源代码,可以把源代码拷贝到android项目的src文件夹下使用,也可以在rele
2017-12-30 21:48:28
251
转载 使用信号量和关键区来实现生产者消费者
转载请标明出处,原文地址:http://blog.youkuaiyun.com/morewindows/article/details/7577591 #include #include #include const int PRODUCTNUM = 10;//生产产品个数 const int THREADNUM = 4;//线程个数 const int BUFFER_SIZE =
2014-04-21 16:31:37
370
原创 C++ 读取二进制文件
std::ifstream fin; char *pFile; fin.open("../.json", std::ios::in | std::ios::binary);
2014-04-15 10:23:01
810
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人