1、在一个表内,查询专辑下视频大于500的专辑 SELECT album_id,COUNT(video_id) FROM movie_box_source.p2pvod_s_album_video GROUP BY album_id ORDER BY COUNT(video_id) DESC ...
分类:
数据库 时间:
2016-06-08 19:01:05
阅读次数:
196
#!/bin/usr/python
importos
importsys
importsubprocess
filenum=open(‘/python/photolist‘,‘r+‘)
list1=[]
photofile=[]
forlineinfilenum.readlines():
line=line.strip(‘\n‘)
list1.append(line)
filenum.close()
forfilenamesinos.walk(‘/photo/photo‘):
photofile.extend..
分类:
其他好文 时间:
2016-06-07 11:13:37
阅读次数:
160
主要用到以下JS文件: <script src="js/photo/iscroll-zoom.js"></script> <script src="js/photo/hammer.js"></script> <script src="js/photo/lrz.all.bundle.js"></scr ...
分类:
移动开发 时间:
2016-06-06 16:17:22
阅读次数:
221
在actionClick:方法里调用: 这个时候,我们想知道保存是否成功,所以需要制定回调方法 ...
分类:
其他好文 时间:
2016-05-27 20:12:10
阅读次数:
122
源码托管地址:https://github.com/SleepyzzZ/photo-selector
话不多说,先上效果图(高仿微信图片选择器):
图片选择界面:
图片预览界面:
批量上传图片:
实现的功能介绍:
1、图片异步加载,使用Glide开源库实现加载;
2、图片的预览界面,支持左右滑动,双击放大浏览;
3、图片批量上传,使用Ok...
分类:
微信 时间:
2016-05-27 12:56:16
阅读次数:
477
// 调用相机拍照的请求码 public static final int REQUEST_TAKE_PHOTO_CODE = 1; public static final int REQUEST_TAKE_PHOTO_CODE2 = 2; // 拍照后显示图片的ImageView private ...
分类:
移动开发 时间:
2016-05-27 08:17:07
阅读次数:
468
图片保存到数据库的方法: public void imgToDB(string sql) { //参数sql中要求保存的imge变量名称为@images //调用方法如:imgToDB("update UserPhoto set Photo=@images where UserNo='" + tem ...
分类:
数据库 时间:
2016-05-23 09:04:28
阅读次数:
176
We cannot let photo always keep caching new data without clean the old data. If message is not display on the page anymore, we want to clean it. And a ...
分类:
系统相关 时间:
2016-05-22 06:18:54
阅读次数:
163
To cache photo, You need to spreate cache db to save the photo. So in wittr example, we cache the text already, if there in the wittr there is photo, ...
分类:
系统相关 时间:
2016-05-22 06:18:21
阅读次数:
340
扫描本地文件加载到item
不限于应用到音乐播放器,其他Android工程,也可以使用SdcardSearchToList
其他Android工程也可以使用,我现在做了很小的Demo
后续将博文,将在播放器里,加入这一功能,来实现刚下载好的音乐,加载到播放器
这个Demo的源码下载:
http://download.csdn.net/album/detail/3105
...
分类:
移动开发 时间:
2016-05-18 19:46:09
阅读次数:
252