业务场景 当实现二维码扫描的时候(用的扫码库是zbar),有时候需要悄悄的整个扫描的照片存储下来,(charles有部分变态业务就是这样)就是说给扫描的图片照个全景照片。那么代码如何实现的呢?我去StackoverFlow里终于找到了实现办法! protected PreviewCallbac...
分类:
其他好文 时间:
2015-10-13 17:19:48
阅读次数:
192
摘自酷勤网1. 《代码大全》史蒂夫·迈克康奈尔推荐数:1684“优秀的编程实践的百科全书,《代码大全》注重个人技术,其中所有东西加起来,就是我们本能所说的“编写整洁的代码”。这本书有50页在谈论代码布局。” —— Joel Spolsky对于新手来说,这本书中的观念有点高阶了。到你准备阅读此书时,你...
分类:
其他好文 时间:
2015-10-13 00:07:52
阅读次数:
294
reference : http://stackoverflow.com/questions/24590533/how-to-get-recent-tasks-on-android-l/26885469#26885469String topPackageName ;if(Build.VERSION....
分类:
移动开发 时间:
2015-10-09 22:44:26
阅读次数:
228
//http://stackoverflow.com/questions/1241728/can-i-try-catch-a-warningOne possibility is to set your own error handler before the call and restore the...
分类:
Web程序 时间:
2015-10-09 19:50:30
阅读次数:
193
http://stackoverflow.com/questions/21167070/how-to-query-multiple-times-and-close-the-connection-at-the-end使用query1=dbSendQuery(db, "select * from tab...
分类:
数据库 时间:
2015-10-09 11:42:39
阅读次数:
242
应用程序“xxx.COM”中的服务器错误错误摘要HTTP 错误 403.14 - ForbiddenWeb 服务器被配置为不列出此目录的内容。安装了 net framework4.5依然报错最后解决方法:http://stackoverflow.com/questions/5111091/getti...
分类:
其他好文 时间:
2015-10-08 18:11:43
阅读次数:
135
刚刚在stackoverflow上看到一个关于android LinearLayout的weight属性的解释,觉得解释很透彻,帖过来和大家分享一下。 In a nutshell,?layout_weight?specifies how much of the extra space in the layout t...
分类:
其他好文 时间:
2015-10-08 10:40:54
阅读次数:
228
http://www.cnblogs.com/freeliver54/p/3747836.html本文转自:http://stackoverflow.com/questions/11767911/mvc-httppost-httpget-for-actionController:[HttpGet]p...
分类:
Web程序 时间:
2015-10-07 18:45:55
阅读次数:
168
vs2013 类名黑色,修改不起作用,最后找到解决办法。http://stackoverflow.com/questions/10970305/how-can-i-get-user-type-c-sharp-syntax-highlighting-working-again-in-vs-2012-r...
分类:
其他好文 时间:
2015-10-07 13:30:49
阅读次数:
161
What are MVP and MVC and what is the difference?http://stackoverflow.com/questions/2056/what-are-mvp-and-mvc-and-what-is-the-difference谈谈MVC模式http://w...
分类:
Web程序 时间:
2015-10-07 13:22:22
阅读次数:
132