1,录音功能
navigator.device.capture.captureAudio(
function(files){//成功回调函数
Ext.getCmp("video_files_mainview").config.param.sourceobj.startUpload(files[0].ful...
分类:
其他好文 时间:
2014-11-04 19:45:38
阅读次数:
163
1 public class Tforeach { 2 3 /** 4 * @param args 5 */ 6 public static void main(String[] args) { 7 // TODO Auto-generated...
分类:
其他好文 时间:
2014-11-04 12:54:55
阅读次数:
146
/** * 读取输入流数据 * @param inStream * @return */ public static byte[] read(InputStream inStream) throws Exception{ ByteArray...
分类:
移动开发 时间:
2014-11-04 10:38:03
阅读次数:
191
public class Keygen{ /** * @param s * @param i * @param bytes * @return */ public static short getCRC(String s, int i, byte ...
分类:
其他好文 时间:
2014-11-03 17:40:18
阅读次数:
291
init: controller中初始化方法, //注意该方法是在其他方法之前,所以取不出this,model等值;跳转:this.transitionToRoute(routename,param); //形式对应如:this.resource('question',...
分类:
Web程序 时间:
2014-11-03 16:15:23
阅读次数:
163
二、创建spring mvc工程
一、
contextConfigLocation
classpath:/spring/application-datasource.xml
该元素用来声明应用范围内的上下文初始化参数(整个web项目中)例如对数据库连接池的配置等
param-name 设定上下文的...
分类:
编程语言 时间:
2014-11-02 16:36:09
阅读次数:
169
bytes.php 字节编码类
/**
* byte数组与字符串转化类
* @author
* created on 2011-7-15
*/
class bytes {
/**
* 转换一个string字符串为byte数组
* @param $str 需要转换的字符串
* @param $bytes 目标byte数组
...
分类:
Web程序 时间:
2014-11-02 16:33:24
阅读次数:
193
xs.autodetectAnnotations(true); /** * xml解析函数 * @param String xml信息 * @return String 接口返回信息 */ public static Object toObject(String...
分类:
其他好文 时间:
2014-11-02 16:20:49
阅读次数:
139
顺序排序方法 输出降序import java.util.*;public class HW5_6_2 { static int x,t=0; //static int[]a=new int[x]; 如此int[]a 有默认值 数组会越界 /** * @param args ...
分类:
编程语言 时间:
2014-11-01 21:45:13
阅读次数:
282
import java.util.*;public class HW5_3 { static int x; /** * @param args */ public static void main(String[] args) { // TODO Au...
分类:
其他好文 时间:
2014-11-01 19:12:32
阅读次数:
149