背景 代码 先上布局文件:
这里没有TextView,我最后是将路径以System.out.println方式输出的。初始化:button =
(Button)findViewById(R.id.button); pic = (ImageView) findViewByI...
分类:
移动开发 时间:
2014-05-17 01:44:20
阅读次数:
749
-webkit-transition:all 0.2s
ease-in-out;-moz-transition:all 0.2s ease-in-out;-o-transition:all 0.2s
ease-in-out;-ms-transition:all 0.2s ease-in-out;
分类:
其他好文 时间:
2014-05-17 00:40:18
阅读次数:
230
gdb vc调试对照表:实现功能 vc gdb修改后编译 f7 make跳出函数(step out)
shift+f11 finish,f重新启动 ctrl+shift+f5 run,r运行到指定行 f9+f5 tbreak,tb +
continue,c中断程序 ctrl+alt+break ct...
分类:
数据库 时间:
2014-05-17 00:28:01
阅读次数:
371
--存储过程名和参数,参数中in表示传入参数,out标示传出参数,inout表示传入传出参数create
procedure p_procedurecode(in sumdate varchar(10)) begin declare v_sql
varchar(500); --需要...
分类:
数据库 时间:
2014-05-16 20:51:07
阅读次数:
486
定义一个存储过程,用到游标,从一个表中取值,插入到另外一个表中。drop procedure
if exists search_test;create procedure search_test(in id int,out out_min_id
varchar(200))begindeclare f...
分类:
数据库 时间:
2014-05-14 07:41:31
阅读次数:
361
public class BubbleSort{ public static void
main(String[] args){ int[] sortArray = new int[]{5,7,4,2,9,8,3,6};
System.out.println("before sorting ,t.....
分类:
编程语言 时间:
2014-05-13 19:45:04
阅读次数:
366
l and dished out an assist in the Blackhawks' 5-3 win over the Nashville Predators.Shaw said just playing with the Blackhawks was enough motivation for him."Positive,
I'm playing in the NHL," Shaw s...
分类:
其他好文 时间:
2014-05-13 13:46:10
阅读次数:
453
Android开发中我们会经常遇到图片过多或操作不当造成Out
of Memory异常,有时虽然是解决了这个问题但却会影响程序的运行效率,例如:当用户在快速滑动滚动条的过程中,我们程序在仍在艰难的加载服务器端的图片,这样给用户造成了极不好的体验。其实网络上关于图片的异步加载和缓存的讲解很多,但是其实,写一个这方面的程序还是比较麻烦的,要考虑多线程,缓存,内存溢出等很多方面,针对这一广大开发者都...
分类:
移动开发 时间:
2014-05-13 13:36:52
阅读次数:
359
//读取本地图片写到jsp页面Filefile=newFile("D:/parking/A区12号.jpg");ServletOutputStreamout=null;InputStreamin=null;try{in=newFileInputStream(file);response().setContentType("multipart/form-data");inttempbyte;out=response().getOutputStream();while((tempbyte=..
分类:
Web程序 时间:
2014-05-13 13:15:20
阅读次数:
305
显示数据库中的存储过程__转
It's no easy trick to see stored procedures in a database programmatically with a scripting language like ASP. If you're using MS Access, you're out of luck. Access provides no way to ...
分类:
数据库 时间:
2014-05-12 22:43:25
阅读次数:
541