`
张洪财
  • 浏览: 267779 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论
文章列表
1、<span> <a href="?locale=zh_CN">中文</a> | <a href="?locale=en_US">English</a>    </span>  2、!-- 国际化 start--> <mvc:interceptors> <!-- Changes the locale when a 'locale' request parameter is sent; e.g. /?locale=de --> < ...
在res/drawable文件夹新增一个文件,此文件设置了图片的触发状态,你可以设置 state_pressed,state_checked,state_pressed,state_selected,state_focused,state_enabled 等几个状态: android:state_pressed Boolean. "true" if this item should be used when the object is pressed (such as when a button is touched/clicked); "false" ...
北京地铁2020年规划图  . 附件下载 超清楚   。 最新。

java base

    博客分类:
  • java
1、参数定义: 有未知东西参与运算时,定义参数; 2、while 和 for : 当循环参数不需要二次使用时,就不需要用while 。 节省内存。 例如: for(int i ...)  i出for就释放 。 3、判断线程是否安全 ,a、查看操作的共享数据;b、查看多线程操作函数中的多条语句,用sleep 分隔。
http://grepcode.com/project/repository.grepcode.com/java/ext/com.google.android/android/
http://grepcode.com/project/repository.grepcode.com/java/ext/com.google.android/android/

聚合

聚合实现思路: 1、屏幕范围(右上,左下) 2、把屏幕按一定的宽度和高度分成多个格网,求每个格网的中心点 2.1、按屏幕要显示的点数求网格的宽和高。或者直接给定网格的宽高。 3、每个格网的中心点是一个聚合点 4、判断要聚合的poi点在那个聚合点中,然后把自己放到那个聚合点中
1、尽量用 exp imp 或 expdb 来弄。特别是大数据 。速度有非常非常明显的不一样。 2、不要不数据通过自己的本机周转。 最好是迁移数据的两台机器之间传输数据 3、表空间用户名和表空间名最好一样。 否则导入见表会出问题。
1、listView 视图黑色 设置 cacheColorHint 2、用padding 时 会撑大背景图, 用margin会把parent颜色显示出来。 3、布局用center 时会,同节点的布局会影响子控件的位置。
Android系统的themes.xml和style.xml(位于\base\core\res\res\values\)
public static int sendFileToServer(String url, File file) {     int status = 0;     try {         PostMethod filePost = new PostMethod(url);         Part[] parts = { new FilePart("datefile", file, null, "UTF-8"),                 new StringPart("uuid", "1212312 ...
Sencha Touch 、Rexsee、phonegap

php 简单安装

apache 安装php 1、#./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache/bin/apxs --with-jpeg-dir=/usr/local  --with-zlib-dir=/usr/local  2、 #make #make test #make install 3、一般都在#AddType application/x-tar .tgz下加一行 #LoadModule php5_module modules/libphp5.so AddType application/x-httpd- ...
------主磁盘------------------------------------------------------------------ 1、C盘(OS) 系统盘和软件安装(重装系统需要重安装的) 40-50G(便于碎片整理) fat32 2、D盘 临时文件、音乐、软件安装盘(非安装程序的存储目录)80G(虚拟机不能装这里)ntfs 3、E盘 fat32存储器和备用系统 30G fat32 ------下面是逻辑磁盘---------------------------------------------------------- 4、F盘(工作) 不用安装的开发工 ...
1、需要的软件 Httpd-2.2.17.tar.gz Apache-tomcat-6.tar.gz tomcat-connectors-1.2.31-src.tar.gz      JDK-6u25-dlj-linux-i586.bin 2、java的安装 3、apache的安装 3.1 tar -zxvf  httpd-2.2.17.tar.gz 3.2 cd httpd-2.2.17 3.3 ./configure --prefix=/usr/local/apache --enable-modules=most --enable-mods-shared=all --enable-so ...
Global site tag (gtag.js) - Google Analytics