Android Digital Video: Formats, Concepts and Optimization Android Digital Video Formats: MPEG4 H.264 and WebM VP8 H.263 支持老显示器 MPEG4 SP supported for commercial video(支持商业视频) 3GP Google在...
分类:
移动开发 时间:
2014-07-22 23:01:15
阅读次数:
381
首先下载glog-0.3.3.tar.gz,解压,直接打开VS工程,我用了动态库,
新建win32 console test
把src\windows包含进来,../Debug/libglog.lib链接进来,这样就ok了。
新建main.cpp:
#define GLOG_NO_ABBREVIATED_SEVERITIES
#include
#include
using...
分类:
其他好文 时间:
2014-07-22 22:59:35
阅读次数:
1075
SPDY 是什么 ? SPDY 是 Google 开发的基于传输控制协议 (TCP)
的应用层协议。SPDY 协议旨在通过压缩、多路复用和优先级来缩短网页的加载时间和提高安全性。(SPDY 是 Speedy 的昵音,意思是更快) SPDY
协议只是在性能上对 HTTP 做了很大的优化,其核心思想是尽...
分类:
其他好文 时间:
2014-05-01 22:23:01
阅读次数:
472
本文大部分参考引用加copy:http://blog.chinaunix.net/uid-20761674-id-74962.html本文的受众如果你遇到了以下问题,那么你应该阅读这篇文章我听说过这种技术,我对它很感兴趣我想在家里访问我在公司的机器(写程序,查数据,下电影)。公司为了防止我们用XX软...
分类:
其他好文 时间:
2014-05-01 18:59:39
阅读次数:
489
org.springframework.dao.InvalidDataAccessApiUsageException: Write operations are not allowed in read-only mode (FlushMode.NEVER) - turn your Session into FlushMode.AUTO or remove 'readOnly' marker from transaction definition...
分类:
数据库 时间:
2014-05-01 18:16:35
阅读次数:
377
一.开发环境
eclipse+tomcat+struts-2.2.3
eclipse下载地址:http://www.eclipse.org/downloads/
tomcat下载地址:http://tomcat.apache.org/download-70.cgi
struts下载地址:http://struts.apac...
分类:
其他好文 时间:
2014-04-30 22:45:39
阅读次数:
404
服务器端采用struts2来处理文件上传。
所需环境:
jquery.js
ajaxfileupload.js
struts2所依赖的jar包
及struts2-json-plugin-2.1.8.1.jar
编写文件上传的Action
package com.ajaxfile.action;
import java.io.File;
import java.io.Fi...
分类:
其他好文 时间:
2014-04-30 22:43:38
阅读次数:
392
前文描述的是在SDK下用Ant开发, 本文在此基础上尝试用Maven开发。这里需要用到maven-android-plugin。本文主要参考官方文档: https://code.google.com/p/maven-android-plugin/wiki/GettingStarted首先从这里下载例子工程:https://code.google.com/p/maven-android-plugin...
分类:
移动开发 时间:
2014-04-30 22:31:40
阅读次数:
412
最近做了关于二维码解析的模块
选用的是google的开源工程Zxing
在Zxing 添加闪光灯功能 如下:
在 com.xxx.xxx.Zxing.camera 包下的CameraManager类中
添加代码:
//openLight 是开启闪光灯
//offLight 是关闭闪光灯
public void openLight(){
if (camer...
分类:
移动开发 时间:
2014-04-30 22:15:38
阅读次数:
414
${name}
${parent.name}
${description}
删除
修改
上面的删除与修改都需要通过OGNL表达式为其指定一个id,这个id其实是在list显示的时候已经通过ognl表达式算好了的,当点击删除时,就会去请求
department_delete?id=xxx在请求到这个ac...
分类:
其他好文 时间:
2014-04-30 22:14:38
阅读次数:
365