整个程序的布局很简单只在一个垂直方向上的线性布局里面有俩个按钮(Button)和一个显示图片的控件(ImageView)这里就不给出这部分的代码了1.是打开系统的相册Intent albumIntent = new Intent(Intent.ACTION_PICK, null);albumInte...
分类:
移动开发 时间:
2015-07-13 15:32:10
阅读次数:
136
The Unix Tools Are Your FriendsDiomidis SpinellisIF, ON MY WAY TO EXILE ON A DESERT ISLAND, I had to choose between an IDE and the Unix toolchest, I’d pick the Unix tools without a second thought. Here...
分类:
其他好文 时间:
2015-07-12 12:49:44
阅读次数:
83
A New Stone GameTime Limit: 1000MS Memory Limit: 30000K
Total Submissions: 5113 Accepted: 2806 Description
Alice and Bob decide to play a new stone game.At the beginning of the game they pick...
分类:
其他好文 时间:
2015-07-11 12:15:02
阅读次数:
165
人生最美好的东西,就是他同别人的友谊。——林肯
(define set?
(lambda (l)
(cond
((null? l) #t)
((member? (car l) (cdr l)) #f)
(else (set? (cdr l))))))
(set? '(apples peaches pear plums))
(set? '(ap...
分类:
其他好文 时间:
2015-07-07 00:55:57
阅读次数:
130
RobotsTime Limit:1000MSMemory Limit:10000KTotal Submissions:4037Accepted:1845DescriptionYour company provides robots that can be used to pick up litte...
分类:
其他好文 时间:
2015-07-06 11:43:59
阅读次数:
171
1.现象
当我们在app上上传一些安卓的本地图片时,有时当上传某些图片时会莫名其妙的闪退,而检查时发现并没有oom异常。同样上传一些类似的图片却可以正常使用。
1.1 开启选择本地图片Intent intent = new Intent(Intent.ACTION_PICK, null);
intent.setDataAndType(MediaStore.Images.Media...
分类:
移动开发 时间:
2015-07-01 12:20:27
阅读次数:
185
Description
There is an apple tree outside of kaka's house. Every autumn, a lot of apples will grow in the tree. Kaka likes apple very much, so he has been carefully nurturing the big apple tree.
...
分类:
移动开发 时间:
2015-06-25 12:24:40
阅读次数:
161
http://www.soapui.org/about-soapui-pro/working-with-soapui-pro.htmlDataSource type dropdown – lets you pick which external source you would use to pul...
分类:
数据库 时间:
2015-06-21 22:13:24
阅读次数:
168
OpenCV4Android 选择图片并提取特征点这一部分,主要是关于UI设计。
v0.4
自定义Button style
从Gallery中选择图片
运行效果:
代码 GitHub参考:
50 Awesome & useful Android custom button style
pick image from gallery...
分类:
移动开发 时间:
2015-06-19 11:52:13
阅读次数:
152
DECLARE
x_return_status VARCHAR2(2);
x_msg_count NUMBER;
x_msg_data VARCHAR2(2000);
p_api_version_number NUMBER := 1.0;
init_msg_list VARCHAR2(200);
x_msg_d...