码迷,mamicode.com
首页 >  
搜索关键字:extended lights out    ( 36586个结果
Android Bitmap 全面解析(一)加载大尺寸图片
压缩原因:1.imageview大小如果是200*300那么加载个2000*3000的图片到内存中显然是浪费可耻滴行为;2.最重要的是图片过大时直接加载原图会造成OOM异常(out of memory内存溢出)所以一般对于大图我们需要进行下压缩处理权威处理方法参考安卓开发者中心的大图片处理教程htt...
分类:移动开发   时间:2014-05-27 17:47:04    阅读次数:383
software level
1. Works when no one is watching When the requirements are completely out of control, many programmers celebrate even having reached this point. 2. .....
分类:其他好文   时间:2014-05-27 17:18:31    阅读次数:338
java web 程序---jsp连接mysql数据库的实例基础+表格显示
JSP连接mysql数据库 "); out.print("性别:姓名:密码:"); while(rs.next()){ out.print(""); out.print(""+rs.getString("sex")+""); out.print(...
分类:数据库   时间:2014-05-26 19:13:38    阅读次数:350
JAVA构造方法,继承关系和SUPER关键字
SUPER可调用父类的构造方法,但要注意默认调用和参数调用。同时,在继承类时,可以用SUPER调用其它非构造方法哟。class Test extends Object{ public Test(){ System.out.println("Test1 First thing");...
分类:编程语言   时间:2014-05-26 18:50:48    阅读次数:325
sscanf
#define LOCAL#include#include#includeusing namespace std;int main(){#ifdef LOCAL freopen("sscanf.in","r",stdin); freopen("sscanf.out","w",stdout...
分类:其他好文   时间:2014-05-26 18:50:27    阅读次数:222
【Android】Android中Service类onStartCommand的返回值有关问题(转)
@Override public int onStartCommand(Intent intent, int flags, int startId) { System.out.println("---------->>onStartCommand2"); re...
分类:移动开发   时间:2014-05-26 17:33:56    阅读次数:228
nginx 504 Gateway Time-out错误排查
一次nginx 504 Gateway Time-out错误排查、解决记录,经过反复检查,发现造成这个问题的原因就是PHP的CURL没有设置超时时间,解决办法只要设置超时时间或者修改一下nginx的配置即可解决。记一次莫名其妙的网站失去响应排查。之前网站一直是使用nginx做代理后端的apache运...
分类:其他好文   时间:2014-05-26 16:45:50    阅读次数:276
《软件调试的艺术》笔记--预备知识
1.gcc的-g选项 如果要使用gdb进行调试,必须在编译时在gcc中加入-g选项,使用参数 -g 表示将源代码信息编译到可执行文件中。 如果不使用-g选项: #include int main(void) { int i = 1; i = i + 1; printf("i = %d\n",i); return 0; }gcc main.c gdb a.out (...
分类:其他好文   时间:2014-05-25 21:38:46    阅读次数:238
JAVA笔记1-00
package chapter1;public class Demo1 { public static void main(String[] args) { System.out.println("Hello World!"); /*...
分类:编程语言   时间:2014-05-25 13:56:17    阅读次数:229
How to change value of Read time out of Eclipse Update Manager?
issue:IhaveslowinternetconnectionandIcannotinstallanyplugin,becauseEclipse‘sUpdatemanagerthrowsmeexception:ava.net.SocketTimeoutException:Readtimedoutatjava.net.SocketInputStream.socketRead0(NativeMethod)atjava.net.SocketInputStream.read(UnknownSource)atja..
分类:系统相关   时间:2014-05-25 04:55:20    阅读次数:406
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!